java.util.Enumeration<java.lang.Object>
, ServiceLocationEnumeration
public class SLEnumerationImpl extends java.lang.Object implements ServiceLocationEnumeration
Constructor | Description |
---|---|
SLEnumerationImpl(RequestMessage pReqMsg,
java.util.List<java.net.InetAddress> pDAList) |
Ctor.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getPort() |
For diagnostic only!
|
boolean |
hasMoreElements() |
|
boolean |
hasMoreExceptions() |
|
java.lang.Object |
next() |
This implementation can throw RuntimeExceptions.
|
java.lang.Object |
nextElement() |
|
java.lang.Object |
nextException() |
public SLEnumerationImpl(RequestMessage pReqMsg, java.util.List<java.net.InetAddress> pDAList)
pReqMsg
- pDAList
- public java.lang.Object next() throws java.util.NoSuchElementException
next
in interface ServiceLocationEnumeration
java.util.NoSuchElementException
- If there are no more elements to return.ServiceLocationEnumeration.next()
public java.lang.Object nextException() throws java.util.NoSuchElementException
nextException
in interface ServiceLocationEnumeration
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 tablepublic boolean hasMoreExceptions()
hasMoreExceptions
in interface ServiceLocationEnumeration
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration<java.lang.Object>
public java.lang.Object nextElement() throws java.util.NoSuchElementException
nextElement
in interface java.util.Enumeration<java.lang.Object>
java.util.NoSuchElementException
public int getPort()
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.