public class FirmwareUpdateRequestHandler extends DMRequestHandler
MMqttClient.SERVER_TOPIC_INITIATE_FIRMWARE_UPDATE
{ "reqId": "string" }
CLASS_NAME| Constructor and Description |
|---|
FirmwareUpdateRequestHandler(ManagedClient dmClient) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getTopic()
Return Initiate firmware update
|
void |
handleRequest(com.google.gson.JsonObject jsonRequest,
String topic)
If this operation can be initiated immediately, rc should be set to 202.
|
clearRequestHandlers, getDMClient, getObserveRequestHandler, messageArrived, notify, respond, setDMClient, setRequestHandlerspublic FirmwareUpdateRequestHandler(ManagedClient dmClient)
protected String getTopic()
getTopic in class DMRequestHandlerpublic void handleRequest(com.google.gson.JsonObject jsonRequest,
String topic)
handleRequest in class DMRequestHandlerCopyright © 2019. All rights reserved.