Package org.sblim.slp.internal.ua
Class SLEnumerationImpl
java.lang.Object
org.sblim.slp.internal.ua.SLEnumerationImpl
- All Implemented Interfaces:
java.util.Enumeration<java.lang.Object>
,ServiceLocationEnumeration
SLEnumerationImpl
-
Constructor Summary
ConstructorsConstructorDescriptionSLEnumerationImpl
(RequestMessage pReqMsg, java.util.List<java.net.InetAddress> pDAList) Ctor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Enumeration
asIterator
-
Constructor Details
-
SLEnumerationImpl
Ctor.- Parameters:
pReqMsg
-pDAList
-
-
-
Method Details
-
next
public java.lang.Object next() throws java.util.NoSuchElementExceptionThis implementation can throw RuntimeExceptions. They can be ignored or used for analysis.- Specified by:
next
in interfaceServiceLocationEnumeration
- Returns:
- The next value
- Throws:
java.util.NoSuchElementException
- If there are no more elements to return.- See Also:
-
nextException
public java.lang.Object nextException() throws java.util.NoSuchElementException- Specified by:
nextException
in interfaceServiceLocationEnumeration
- Returns:
- next Object in Exception table
- Throws:
java.util.NoSuchElementException
- This in internal implementation to get list of all exceptions thrown/caught by parser This can throw RuntimeExceptions. They can be ignored or used for analysis. use hasNextException to check whether there exists another element in Exception table
-
hasMoreExceptions
public boolean hasMoreExceptions()- Specified by:
hasMoreExceptions
in interfaceServiceLocationEnumeration
- Returns:
- true if there exists another element in Exception table
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfacejava.util.Enumeration<java.lang.Object>
-
nextElement
public java.lang.Object nextElement() throws java.util.NoSuchElementException- Specified by:
nextElement
in interfacejava.util.Enumeration<java.lang.Object>
- Throws:
java.util.NoSuchElementException
-
getPort
public int getPort()For diagnostic only!- Returns:
- int
-