public class TestTopicListener extends AWSIotTopic
AWSIotTopic to receive messages from a subscribed
topic.errorCode, errorMessage, payload, qos, topic| Constructor and Description |
|---|
TestTopicListener(String topic,
AWSIotQos qos) |
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(AWSIotMessage message) |
getErrorCode, getErrorMessage, getPayload, getQos, getStringPayload, getTopic, onFailure, onSuccess, onTimeout, setErrorCode, setErrorMessage, setPayload, setQos, setStringPayload, setTopicpublic void onMessage(AWSIotMessage message)
onMessage in interface AwsIotTopicCallbackonMessage in class AWSIotTopicCopyright © 2019. All rights reserved.