|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.link.LnkRequest.Result
public final class LnkRequest.Result
Contains the result for the request.
This class contains the result for a sent request. The result consist of the status of the request-reply exchange as well as the responses that were received for the request. There can be more than one reply per request. The reply count is set upon receipt of the first reply.
Method Summary | |
---|---|
com.neeve.util.UtlList |
getReplies()
Get the set of received replies. |
int |
getReplyCount()
Get the reply count. |
ELnkOpFailedException |
getStatus()
Get the request's completion status. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final ELnkOpFailedException getStatus()
This method returns the completion status of a request-reply operation.
The user should note that the value returned from here only makes sense
for a completed request operation i.e. one whose request object's state
is LnkRequest.State.COMPLETE
public final int getReplyCount()
public final com.neeve.util.UtlList getReplies()
This method will return the set of replies received for the
request corresponding to this result object. A non-empty
set of replies does not indicate a successful completion of
the request. The user should invoke getStatus()
to
check if the request completed successfully or not since
it is possible for a partial set of replies to be received
and then a failure encountered.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |