public class DeviceCommandResponse extends DeviceEvent implements IDeviceCommandResponse, java.io.Serializable
IDeviceCommandResponse.| Constructor and Description |
|---|
DeviceCommandResponse() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceCommandResponse |
copy(IDeviceCommandResponse input)
Create a copy of an SPI object.
|
java.lang.String |
getOriginatingEventId()
Get id of
IDeviceCommandInvocation that triggered the response. |
java.lang.String |
getResponse()
Get response payload.
|
java.lang.String |
getResponseEventId()
Get id of event sent as a response.
|
void |
setOriginatingEventId(java.lang.String originatingEventId) |
void |
setResponse(java.lang.String response) |
void |
setResponseEventId(java.lang.String responseEventId) |
compareTo, copy, getAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteToken, setAssetId, setAssetModuleId, setAssignmentType, setDeviceAssignmentToken, setEventDate, setEventType, setId, setReceivedDate, setSiteTokenaddOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteTokenaddOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadatapublic java.lang.String getOriginatingEventId()
IDeviceCommandResponseIDeviceCommandInvocation that triggered the response.getOriginatingEventId in interface IDeviceCommandResponsepublic void setOriginatingEventId(java.lang.String originatingEventId)
public java.lang.String getResponseEventId()
IDeviceCommandResponsegetResponseEventId in interface IDeviceCommandResponsepublic void setResponseEventId(java.lang.String responseEventId)
public java.lang.String getResponse()
IDeviceCommandResponsegetResponse in interface IDeviceCommandResponsepublic void setResponse(java.lang.String response)
public static DeviceCommandResponse copy(IDeviceCommandResponse input) throws SiteWhereException
input - SiteWhereException