public interface IEsfMqttCallbackHandler
extends com.eurotech.cloud.client.EdcCallbackHandler
IEsfMqttCallbackHandler interface| Modifier and Type | Method and Description |
|---|---|
void |
controlArrived(java.lang.String assetId,
java.lang.String topic,
byte[] payload,
int qos,
boolean retain)
Called by the EdcClient session when it receives a published control message from the broker.
|
void |
publishArrived(java.lang.String assetId,
java.lang.String topic,
byte[] payload,
int qos,
boolean retain)
Called by the EdcClient when it receives a published data message from the broker.
|
void controlArrived(java.lang.String assetId,
java.lang.String topic,
byte[] payload,
int qos,
boolean retain)
controlArrived in interface com.eurotech.cloud.client.EdcCallbackHandlerassetId - The asset ID of the topic prefix the message arrived on.topic - The topic the message arrived on.payload - The EdcMessage that arrived.qos - The Quality of Service that the message was received on.retain - Whether the message was retained by the broker.void publishArrived(java.lang.String assetId,
java.lang.String topic,
byte[] payload,
int qos,
boolean retain)
publishArrived in interface com.eurotech.cloud.client.EdcCallbackHandlerassetId - The asset ID of the topic prefix the message arrived on.topic - The topic the message arrived on.payload - The EdcMessage that arrived.qos - The Quality of Service that the message was received on.retain - Whether the message was retained by the broker.Copyright © 2009 Eurotech Inc. All rights reserved.