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