|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.slp.internal.ua.SLEnumerationImpl
public class SLEnumerationImpl
SLEnumerationImpl
Constructor Summary | |
---|---|
SLEnumerationImpl(RequestMessage pReqMsg,
List<InetAddress> pDAList)
Ctor. |
Method Summary | |
---|---|
int |
getPort()
For diagnostic only! |
boolean |
hasMoreElements()
|
boolean |
hasMoreExceptions()
|
Object |
next()
This implementation can throw RuntimeExceptions. |
Object |
nextElement()
|
Object |
nextException()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SLEnumerationImpl(RequestMessage pReqMsg, List<InetAddress> pDAList)
pReqMsg
- pDAList
- Method Detail |
---|
public Object next() throws NoSuchElementException
next
in interface ServiceLocationEnumeration
NoSuchElementException
- If there are no more elements to return.ServiceLocationEnumeration.next()
public Object nextException() throws NoSuchElementException
nextException
in interface ServiceLocationEnumeration
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 tablepublic boolean hasMoreExceptions()
hasMoreExceptions
in interface ServiceLocationEnumeration
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<Object>
public Object nextElement() throws NoSuchElementException
nextElement
in interface Enumeration<Object>
NoSuchElementException
public int getPort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |