org.sblim.slp.internal.ua
Class ResultTable
java.lang.Object
org.sblim.slp.internal.ua.ResultTable
- Iterator
public class ResultTable
extends java.lang.Object
implements Iterator
ResultTable
addException
public void addException(Exception pE)
addException
addExceptions
public void addExceptions(Iterator pExceptionItr)
addExceptions
addExceptions
public void addExceptions(ReplyMessage pReplyMsg)
addExceptions
addResults
public void addResults(Iterator pResItr)
addResults
addResults
public void addResults(ReplyMessage pReplyMsg)
addResults
getTotalResponses
public int getTotalResponses()
getTotalResponses
hasMoreExceptions
public boolean hasMoreExceptions()
- next element in Exception table
hasNext
public boolean hasNext()
- true if there are results or exceptions to read
java.util.Iterator.hasNext()
next
public Object next()
throws NoSuchElementException
java.util.Iterator.next()
nextException
public Object nextException()
throws NoSuchElementException
- next element in Exception table
registerRequester
public void registerRequester(DatagramRequester pReq)
ResultTable has to know which Requesters provide results.
Requester have to be registered before hasNext() is called.
remove
public void remove()
unregisterRequester
public void unregisterRequester(DatagramRequester pReq)
If the Requester's sequence is completed, Requester has to be unregistered otherwise
hasNext() will block.
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.