|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.resilientedge.jockey.service.ServiceResponseMarker
Represents a background service invocation and its current status.
Field Summary | |
static int |
AWAITING_RESPONSE
Indicates that a request was sent, and no response has been seen yet. |
static int |
HAVE_RESPONSE
This status indicates that a response message has been received and is ready to be processed. |
static int |
RECEIVING_RESPONSE
This status indicates that a response message has been started but is not yet complte. |
static int |
SEND_COMPLETE
This status indicates that the request has been sent successfully. |
static int |
SENDING
Indicates that the request is currently being sent. |
static int |
SENT_AWAITING_ACK
This status indicates that the request has been sent, but not yet acknowledged by the receiver. |
Constructor Summary | |
ServiceResponseMarker()
|
Method Summary | |
void |
cancel()
Cancels the transmission of a service invocation. |
boolean |
isReady()
Gets the response ready flag |
void |
setReady(boolean newValue)
Sets the response ready flag |
void |
waitForResponse()
Blocks until the response to complete. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SENDING
public static final int SENT_AWAITING_ACK
public static final int SEND_COMPLETE
public static final int AWAITING_RESPONSE
public static final int RECEIVING_RESPONSE
public static final int HAVE_RESPONSE
Constructor Detail |
public ServiceResponseMarker()
Method Detail |
public void setReady(boolean newValue)
newValue
- The new Ready valuepublic boolean isReady()
public void waitForResponse()
public void cancel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |