org.sblim.slp.internal
Class ServiceLocationEnumeratorStreamed
java.lang.Object
org.sblim.slp.internal.ServiceLocationEnumeratorStreamed
- All Implemented Interfaces:
- java.util.Enumeration, ServiceLocationEnumeration
public class ServiceLocationEnumeratorStreamed
- extends java.lang.Object
- implements ServiceLocationEnumeration
Constructor Summary |
ServiceLocationEnumeratorStreamed(java.util.Vector pDaList,
org.sblim.slp.internal.ServiceLocationMessage pRequestMsg,
java.net.InetAddress pInetaddress)
|
Method Summary |
ServiceLocationException |
dispatchDatagramMsg(org.sblim.slp.internal.ServiceLocationMessage pRequest,
java.util.Vector pResponseList,
int[] pTimeoutList,
int pMaxResults,
java.net.InetAddress pInetAddress,
boolean pJustFirstResult)
|
java.util.Vector |
dispatchMulticastMsg(java.net.InetAddress pInetaddress,
java.net.DatagramSocket pDatagramsocket1,
org.sblim.slp.internal.ServiceLocationMessage pRequest,
int[] pMsTimeOutsList,
int pMaxResults,
boolean pGetFirstResult)
|
static java.util.Enumeration |
dispatchUAMsg(java.util.Vector pDAList,
org.sblim.slp.internal.ServiceLocationMessage pRequestMsg,
java.net.InetAddress pInetAddress)
|
boolean |
hasMoreElements()
|
java.lang.Object |
next()
Return the next value or block until it becomes available. |
java.lang.Object |
nextElement()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceLocationEnumeratorStreamed
public ServiceLocationEnumeratorStreamed(java.util.Vector pDaList,
org.sblim.slp.internal.ServiceLocationMessage pRequestMsg,
java.net.InetAddress pInetaddress)
next
public java.lang.Object next()
throws ServiceLocationException
- Description copied from interface:
ServiceLocationEnumeration
- Return the next value or block until it becomes available.
- Specified by:
next
in interface ServiceLocationEnumeration
- Returns:
- The next value
- Throws:
ServiceLocationException
- Thrown if the SLP operation encounters an error.
hasMoreElements
public boolean hasMoreElements()
throws ServiceLocationException
- Specified by:
hasMoreElements
in interface java.util.Enumeration
- Throws:
ServiceLocationException
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement
in interface java.util.Enumeration
dispatchMulticastMsg
public java.util.Vector dispatchMulticastMsg(java.net.InetAddress pInetaddress,
java.net.DatagramSocket pDatagramsocket1,
org.sblim.slp.internal.ServiceLocationMessage pRequest,
int[] pMsTimeOutsList,
int pMaxResults,
boolean pGetFirstResult)
throws ServiceLocationException
- Throws:
ServiceLocationException
dispatchDatagramMsg
public ServiceLocationException dispatchDatagramMsg(org.sblim.slp.internal.ServiceLocationMessage pRequest,
java.util.Vector pResponseList,
int[] pTimeoutList,
int pMaxResults,
java.net.InetAddress pInetAddress,
boolean pJustFirstResult)
dispatchUAMsg
public static java.util.Enumeration dispatchUAMsg(java.util.Vector pDAList,
org.sblim.slp.internal.ServiceLocationMessage pRequestMsg,
java.net.InetAddress pInetAddress)
throws ServiceLocationException
- Throws:
ServiceLocationException
Copyright © 2005, 2006 IBM Corporation. All Rights Reserved.