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
public class SLEnumerationImpl extends java.lang.Object implements ServiceLocationEnumeration
SLEnumerationImpl
-
-
Constructor Summary
Constructors Constructor Description SLEnumerationImpl(RequestMessage pReqMsg, java.util.List<java.net.InetAddress> pDAList)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPort()For diagnostic only!booleanhasMoreElements()booleanhasMoreExceptions()java.lang.Objectnext()This implementation can throw RuntimeExceptions.java.lang.ObjectnextElement()java.lang.ObjectnextException()
-
-
-
Constructor Detail
-
SLEnumerationImpl
public SLEnumerationImpl(RequestMessage pReqMsg, java.util.List<java.net.InetAddress> pDAList)
Ctor.- Parameters:
pReqMsg-pDAList-
-
-
Method Detail
-
next
public java.lang.Object next() throws java.util.NoSuchElementExceptionThis implementation can throw RuntimeExceptions. They can be ignored or used for analysis.- Specified by:
nextin interfaceServiceLocationEnumeration- Returns:
- The next value
- Throws:
java.util.NoSuchElementException- If there are no more elements to return.- See Also:
ServiceLocationEnumeration.next()
-
nextException
public java.lang.Object nextException() throws java.util.NoSuchElementException- Specified by:
nextExceptionin 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:
hasMoreExceptionsin interfaceServiceLocationEnumeration- Returns:
- true if there exists another element in Exception table
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElementsin interfacejava.util.Enumeration<java.lang.Object>
-
nextElement
public java.lang.Object nextElement() throws java.util.NoSuchElementException- Specified by:
nextElementin interfacejava.util.Enumeration<java.lang.Object>- Throws:
java.util.NoSuchElementException
-
getPort
public int getPort()
For diagnostic only!- Returns:
- int
-
-