|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjecttestEnvironment.ReceivalCheck
final class ReceivalCheck
Can be used to validate if a message sent, was received as well or dropped for some reason.
For performance reasons, only an identifying integer (4 bytes) is saved for each message for later comparison.
Method Summary | |
---|---|
protected static void |
addReceivedMessage(int messageID)
Removes the bypassed message identifier from notYetReceived
list. |
protected static void |
addSentMessage(int messageID)
Saves the bypassed message identifier in the notYetReceived
list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected static void addSentMessage(int messageID)
notYetReceived
list. If the checkInterval
is reached, a check for lost
messages is performed. Gets called by ClientSimulator
every
time it sends a new message.
checkInterval
protected static void addReceivedMessage(int messageID)
notYetReceived
list. Gets called by ClientSimulator
every time it receives
a reply.
notYetReceived
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |