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 ServiceLocationEnumerationNoSuchElementException - If there are no more elements to return.ServiceLocationEnumeration.next()public Object nextException() throws NoSuchElementException
nextException in interface ServiceLocationEnumerationNoSuchElementException - 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 ServiceLocationEnumerationpublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<Object>public Object nextElement() throws NoSuchElementException
nextElement in interface Enumeration<Object>NoSuchElementExceptionpublic int getPort()
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.