org.sblim.slp.internal.ua
public class ResultTable extends Object implements Iterator<Object>
Method Summary | |
---|---|
void | addException(Exception pE)
addException
|
void | addExceptions(ReplyMessage pReplyMsg)
addExceptions
|
void | addExceptions(Iterator<?> pExceptionItr)
addExceptions
|
void | addResults(ReplyMessage pReplyMsg)
addResults
|
void | addResults(Iterator<?> pResItr)
addResults
|
int | getTotalResponses()
getTotalResponses
|
boolean | hasMoreExceptions() |
boolean | hasNext() |
Object | next() |
Object | nextException() |
void | registerRequester(DatagramRequester pReq)
ResultTable has to know which Requesters provide results. |
void | remove() |
void | unregisterRequester(DatagramRequester pReq)
If the Requester's sequence is completed, Requester has to be
unregistered otherwise hasNext() will block.
|
Parameters: pE
Parameters: pReplyMsg
Parameters: pExceptionItr
Parameters: pReplyMsg
Parameters: pResItr
Returns: int
Returns: next element in Exception table
Returns: true if there are results or exceptions to read
See Also: java.util.Iterator#hasNext()
Returns: a result or an Exception
See Also: java.util.Iterator#next()
Returns: next element in Exception table
Throws: NoSuchElementException
Parameters: pReq
See Also: unregisterRequester
Parameters: pReq