public class CustomRequestHandler extends DMRequestHandler implements PropertyChangeListener
MMqttClient.SERVER_TOPIC_INITIATE_CUSTOM
{ "reqId": "string" }
| Constructor and Description |
|---|
CustomRequestHandler(ManagedClient dmClient) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getTopic()
Return Initiate custom action topic
|
protected void |
handleRequest(com.google.gson.JsonObject jsonRequest,
String topic)
Handle initiate custom action request from IBM Watson IoT Platform
|
void |
propertyChange(PropertyChangeEvent evt) |
clearRequestHandlers, getDMClient, getObserveRequestHandler, messageArrived, notify, respond, setDMClient, setRequestHandlerspublic CustomRequestHandler(ManagedClient dmClient)
protected String getTopic()
getTopic in class DMRequestHandlerprotected void handleRequest(com.google.gson.JsonObject jsonRequest,
String topic)
handleRequest in class DMRequestHandlerpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerCopyright © 2019. All rights reserved.