public class DeviceCommandResponseWithAsset extends DeviceEventWithAsset implements IDeviceCommandResponse
DeviceCommandResponse so that information about the asset
associated with its assignment is available.asset, UNASSOCIATED_ASSET_NAME, wrapped| Constructor and Description |
|---|
DeviceCommandResponseWithAsset(IDeviceCommandResponse wrapped,
IAssetModuleManager assets) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addOrReplaceMetadata, clearMetadata, compareTo, getAssetId, getAssetModuleId, getAssetName, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getMetadata, getMetadata, getReceivedDate, getSiteToken, getWrapped, removeMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteTokenaddOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadatapublic DeviceCommandResponseWithAsset(IDeviceCommandResponse wrapped, IAssetModuleManager assets) throws SiteWhereException
SiteWhereExceptionpublic java.lang.String getOriginatingEventId()
IDeviceCommandResponseIDeviceCommandInvocation that triggered the response.getOriginatingEventId in interface IDeviceCommandResponsepublic java.lang.String getResponseEventId()
IDeviceCommandResponsegetResponseEventId in interface IDeviceCommandResponsepublic java.lang.String getResponse()
IDeviceCommandResponsegetResponse in interface IDeviceCommandResponse