Class SimpleMessageQueue.WantedTypeSubscription
java.lang.Object
utils.communication.communicationHandler.MessageQueue.SimpleMessageQueue.WantedTypeSubscription
- All Implemented Interfaces:
Subscription
- Enclosing class:
SimpleMessageQueue
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
Signal the reception of a message of one of the wanted types-void
Block until a signal is received showing that a message of one of the wanted types as been received.
-
Method Details
-
waitForMessage
public void waitForMessage()Description copied from interface:Subscription
Block until a signal is received showing that a message of one of the wanted types as been received.- Specified by:
waitForMessage
in interfaceSubscription
-
signalNewMessage
public void signalNewMessage()Description copied from interface:Subscription
Signal the reception of a message of one of the wanted types-- Specified by:
signalNewMessage
in interfaceSubscription
-
equals
-
hashCode
public int hashCode()
-