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, setSiteToken
addOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteToken
addOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadata
public java.lang.String getOriginatingEventId()
IDeviceCommandResponse
IDeviceCommandInvocation
that triggered the response.getOriginatingEventId
in interface IDeviceCommandResponse
public void setOriginatingEventId(java.lang.String originatingEventId)
public java.lang.String getResponseEventId()
IDeviceCommandResponse
getResponseEventId
in interface IDeviceCommandResponse
public void setResponseEventId(java.lang.String responseEventId)
public java.lang.String getResponse()
IDeviceCommandResponse
getResponse
in interface IDeviceCommandResponse
public void setResponse(java.lang.String response)
public static DeviceCommandResponse copy(IDeviceCommandResponse input) throws SiteWhereException
input
- SiteWhereException