org.sblim.slp.internal.ua

Class SLEnumerationImpl

Implemented Interfaces:
Enumeration, ServiceLocationEnumeration

public class SLEnumerationImpl
extends java.lang.Object
implements ServiceLocationEnumeration

SLEnumerationImpl

Constructor Summary

SLEnumerationImpl(RequestMessage pReqMsg, List pDAList)
Ctor.

Method Summary

int
getPort()
For diagnostic only!
boolean
hasMoreElements()
boolean
hasMoreExceptions()
Object
next()
This implementation can throw RuntimeExceptions.
Object
nextElement()
Object
nextException()

Constructor Details

SLEnumerationImpl

public SLEnumerationImpl(RequestMessage pReqMsg,
                         List pDAList)
Ctor.
Parameters:
pReqMsg -
pDAList -

Method Details

getPort

public int getPort()
For diagnostic only!
Returns:
int

hasMoreElements

public boolean hasMoreElements()

hasMoreExceptions

public boolean hasMoreExceptions()
Specified by:
hasMoreExceptions in interface ServiceLocationEnumeration
Returns:
true if there exists another element in Exception table

next

public Object next()
            throws NoSuchElementException
This implementation can throw RuntimeExceptions. They can be ignored or used for analysis.
Specified by:
next in interface ServiceLocationEnumeration

nextElement

public Object nextElement()
            throws NoSuchElementException

nextException

public Object nextException()
            throws NoSuchElementException
Specified by:
nextException in interface ServiceLocationEnumeration
Returns:
next Object in Exception table

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