|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.resilientedge.jockey.peer.SendMarker
Identifies a message that is currently being sent to another peer.
Field Summary | |
static int |
SEND_COMPLETE
This status indicates that the message has been sent successfully. |
static int |
SENDING
Indicates that the message is currently being sent. |
static int |
SENT_AWAITING_ACK
This status indicates that the message has been sent, but not yet acknowledged by the receiver. |
Constructor Summary | |
SendMarker()
|
Method Summary | |
void |
cancel()
Cancels the current message that is being sent. |
int |
getStatus()
Returns the status of the current message transmission. |
void |
waitForSend()
Blocks until the transmission of the message has been completed. |
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
Constructor Detail |
public SendMarker()
Method Detail |
public int getStatus()
public void waitForSend()
public void cancel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |