public interface MessageReceiver
| Modifier and Type | Method and Description |
|---|---|
void |
receive(Message m)
Implement this method to define the behaviour of the messagereceiver when
messages are sent to it.
|
void |
receive(Reporter r)
Implement this method to define the behaviour of the messagereceiver when
reporters are sent to it.
|
void receive(Message m)
m - Message : The message sent to the messagereceivervoid receive(Reporter r)
r - Reporter : The reporter sent to the messagereceiver