org.sblim.slp.internal.ua
public class SLEnumerationImpl extends Object implements ServiceLocationEnumeration
Constructor and Description |
---|
SLEnumerationImpl(RequestMessage pReqMsg,
List<InetAddress> pDAList)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
int |
getPort()
For diagnostic only!
|
boolean |
hasMoreElements() |
boolean |
hasMoreExceptions() |
Object |
next()
This implementation can throw RuntimeExceptions.
|
Object |
nextElement() |
Object |
nextException() |
public SLEnumerationImpl(RequestMessage pReqMsg, List<InetAddress> pDAList)
pReqMsg
- pDAList
- 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()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.