public class MessageHandlerTest extends MessageHandler<java.lang.String>
Modifier and Type | Field and Description |
---|---|
private boolean |
inDelivery |
private Mutex |
mutex |
Constructor and Description |
---|
MessageHandlerTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
messageArrived(java.lang.String message)
Called when a message arrived.
|
void |
testTwoMessagesInSameTime() |
cancelMessage, doTheJob, finalize, isAlive, postDelayedMessage, postMessage, terminate
private boolean inDelivery
private final Mutex mutex
protected void messageArrived(java.lang.String message)
MessageHandler
messageArrived
in class MessageHandler<java.lang.String>
message
- Message arrivedpublic void testTwoMessagesInSameTime()