@ConsumerType
@FunctionalInterface
public interface CloudSubscriberListener
CloudSubscriberListener interface has to be implemented by applications that needs to be notified of
events in the subscriber.
Notification methods are invoked whenever a message is received in the associated
CloudSubscriber.| Modifier and Type | Method and Description |
|---|---|
void |
onMessageArrived(KuraMessage message)
Called by the
CloudSubscriber when a message is received from
the remote cloud platform. |
void onMessageArrived(KuraMessage message)
CloudSubscriber when a message is received from
the remote cloud platform.
The received message will be parsed and passed as a KuraMessage to the listener.message - The KuraMessage that wraps the received message.