Package ej.aws.iot
Interface AwsIotMessageCallback
-
public interface AwsIotMessageCallbackThe callback interface when receiving messages from AWS IoT. This can be used when subscribing to a topic, all the messages received on that specific topic will be routed to this callback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonMessageReceived(AwsIotMessage message)Called whenever a message arrives in the broker.
-
-
-
Method Detail
-
onMessageReceived
void onMessageReceived(AwsIotMessage message)
Called whenever a message arrives in the broker.- Parameters:
message- received AWS IoT message
-
-