public class CancelRequestHandler extends DMRequestHandler
MMqttClient.SERVER_TOPIC_CANCEL
{ "d": { "data": [ { "field": "mgmt.firmware" } ] } }
CLASS_NAME| Constructor and Description |
|---|
CancelRequestHandler(ManagedClient dmClient) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getTopic()
Return the cancel topic
|
protected void |
handleRequest(com.google.gson.JsonObject jsonRequest,
String topic)
This method handles the cancel request messages from IBM Watson IoT Platform
|
clearRequestHandlers, getDMClient, getObserveRequestHandler, messageArrived, notify, respond, setDMClient, setRequestHandlerspublic CancelRequestHandler(ManagedClient dmClient)
protected void handleRequest(com.google.gson.JsonObject jsonRequest,
String topic)
handleRequest in class DMRequestHandlerprotected String getTopic()
getTopic in class DMRequestHandlerCopyright © 2019. All rights reserved.