public interface MessageListener
Modifier and Type | Method and Description |
---|---|
boolean |
onReceive(Message msg)
This method is called for each message to be conveyed to the listener.
|
boolean onReceive(Message msg)
If this method returns true, the message is assumed to be consumed and is not passed to further message listeners.
msg
- received message.