public class DeviceMgmt extends Resource
Resource.ChangeListenerType| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_NAME |
RESPONSE_TIMEOUT, ROOT_RESOURCE_NAME| Constructor and Description |
|---|
DeviceMgmt(DeviceFirmware firmware) |
| Modifier and Type | Method and Description |
|---|---|
DeviceFirmware |
getDeviceFirmware() |
com.google.gson.JsonObject |
toJsonObject() |
int |
update(com.google.gson.JsonElement json) |
int |
update(com.google.gson.JsonElement json,
boolean fireEvent) |
add, addPropertyChangeListener, addPropertyChangeListener, fireEvent, fireEvent, getCanonicalName, getChild, getChildren, getParent, getRC, getResourceName, getResponseRequired, getValue, notifyExternalListeners, remove, remove, removePropertyChangeListener, setParent, setRC, setValue, setValue, waitForResponsepublic static final String RESOURCE_NAME
public DeviceMgmt(DeviceFirmware firmware)
public com.google.gson.JsonObject toJsonObject()
toJsonObject in class Resourcepublic int update(com.google.gson.JsonElement json,
boolean fireEvent)
public DeviceFirmware getDeviceFirmware()
Copyright © 2019. All rights reserved.