Constructor and Description |
---|
PauseTrigger(Bead receiver)
Instantiates a new PauseTrigger which will pause the given
Bead when triggered. |
Modifier and Type | Method and Description |
---|---|
void |
messageReceived(Bead message)
Any incoming message will cause the specified
Bead to get paused. |
public void messageReceived(Bead message)
Bead
to get paused.messageReceived
in class Bead
message
- the messageBead.message(Bead)