public class NonBlockingPublishListener extends AWSIotMessage
AWSIotMessage to provide customized handlers for
non-blocking message publishing.errorCode, errorMessage, payload, qos, topic| Constructor and Description |
|---|
NonBlockingPublishListener(String topic,
AWSIotQos qos,
String payload) |
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure() |
void |
onSuccess() |
void |
onTimeout() |
getErrorCode, getErrorMessage, getPayload, getQos, getStringPayload, getTopic, setErrorCode, setErrorMessage, setPayload, setQos, setStringPayload, setTopicpublic void onSuccess()
onSuccess in interface AwsIotMessageCallbackonSuccess in class AWSIotMessagepublic void onFailure()
onFailure in interface AwsIotMessageCallbackonFailure in class AWSIotMessagepublic void onTimeout()
onTimeout in interface AwsIotMessageCallbackonTimeout in class AWSIotMessageCopyright © 2019. All rights reserved.