|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.resilientedge.jockey.peerbridge.PBSendMarker
Identifies a message that is currently being sent to another peer.
Field Summary | |
static int |
SEND_COMPLETE
Represents a send complete status |
static int |
SENDING
Represents a send in progress status |
static int |
SENT_AWAITING_ACK
Represents a send complete, awaiting ack status |
Constructor Summary | |
PBSendMarker(PBMessage message)
Construct a fully formed send marker. |
Method Summary | |
long |
getMarkerId()
Gets the unique marker ID |
PBMessage |
getSendMessage()
Gets the message that is being sent |
boolean |
isSendComplete()
Gets the send complete flag |
void |
setMarkerId(long newValue)
Sets the unique marker ID |
void |
setSendComplete(boolean newValue)
Sets the send complete flag |
void |
setSendMessage(PBMessage message)
Sets the message that is being sent |
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 PBSendMarker(PBMessage message)
message
- the message to be senttimeout
- the timeout value (in sec) for the requestMethod Detail |
public void setMarkerId(long newValue)
newValue
- The new MarkerId valuepublic void setSendComplete(boolean newValue)
newValue
- The new SendComplete valuepublic long getMarkerId()
public boolean isSendComplete()
public void setSendMessage(PBMessage message)
message
- the message being sentpublic PBMessage getSendMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |