org.sblim.slp.internal.ua
Class SLEnumerationImpl

java.lang.Object
  extended by org.sblim.slp.internal.ua.SLEnumerationImpl
All Implemented Interfaces:
java.util.Enumeration, ServiceLocationEnumeration

public class SLEnumerationImpl
extends java.lang.Object
implements ServiceLocationEnumeration

SLEnumerationImpl


Constructor Summary
SLEnumerationImpl(RequestMessage pReqMsg, java.util.List pDAList)
          Ctor.
 
Method Summary
 int getPort()
          For diagnostic only!
 boolean hasMoreElements()
           
 java.lang.Object next()
          This implementation can throw RuntimeExceptions.
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLEnumerationImpl

public SLEnumerationImpl(RequestMessage pReqMsg,
                         java.util.List pDAList)
Ctor.

Parameters:
pReqMsg -
pDAList -
Method Detail

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
This implementation can throw RuntimeExceptions. They can be ignored or used for analysis.

Specified by:
next in interface ServiceLocationEnumeration
Returns:
The next value
Throws:
java.util.NoSuchElementException - If there are no more elements to return.
See Also:
ServiceLocationEnumeration.next()

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
                             throws java.util.NoSuchElementException
Specified by:
nextElement in interface java.util.Enumeration
Throws:
java.util.NoSuchElementException

getPort

public int getPort()
For diagnostic only!

Returns:
int


Copyright © 2005, 2008 IBM Corporation. All Rights Reserved.