org.sblim.slp
Interface ServiceLocationEnumeration
- Enumeration
- SLEnumerationImpl
public interface ServiceLocationEnumeration
extends Enumeration
The ServiceLocationEnumeration class is the return type for all Locator SLP
operations. The Java API library may implement this class to block until
results are available from the SLP operation, so that the client can achieve
asynchronous operation by retrieving results from the enumeration in a
separate thread. Clients use the superclass nextElement() method if they are
unconcerned with SLP exceptions (this method will never ever throw one).
hasMoreExceptions
public abstract boolean hasMoreExceptions()
- true if there exists another element in Exception table
next
public abstract Object next()
throws ServiceLocationException,
NoSuchElementException
Return the next value or block until it becomes available.
nextException
public abstract Object nextException()
throws NoSuchElementException
- next Object in Exception table
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.