public interface TopicListener
MessageSource
routed to it.
It is very important that implementations of TopicListener have uniqueness
by their equals
method.
Modifier and Type | Method and Description |
---|---|
boolean |
handleTopicMessage(MessageSource source,
TopicMessage message)
Handles a Message received from a
MessageSource . |
boolean handleTopicMessage(MessageSource source, TopicMessage message) throws APIException
MessageSource
.
This will handle an incoming Message from a specified source.
source
- the Message source.message
- the Message.APIException
- must be thrown by the implementation if it failed
to handle the incoming Message.Copyright © 2016 Push Technology Ltd. All Rights Reserved.