public interface IOutboundEventProcessor extends ITenantLifecycleComponent
| Modifier and Type | Method and Description |
|---|---|
void |
onAlert(IDeviceAlert alert)
Executes code after device alert has been successfully saved.
|
void |
onCommandInvocation(IDeviceCommandInvocation invocation)
Executes code after device command invocation has been successfully
saved.
|
void |
onCommandResponse(IDeviceCommandResponse response)
Executes code after device command response has been successfully saved.
|
void |
onLocation(IDeviceLocation location)
Executes code after device location has been successfully saved.
|
void |
onMeasurements(IDeviceMeasurements measurements)
Executes code after device measurements have been successfully saved.
|
void |
onStateChange(IDeviceStateChange state)
Executes code after device state change has been successfully saved.
|
getTenant, setTenantcanPause, findComponentsOfType, getComponentId, getComponentName, getComponentType, getCreatedDate, getLifecycleComponents, getLifecycleError, getLifecycleStatus, getLogger, initialize, initializeNestedComponent, lifecycleInitialize, lifecyclePause, lifecycleStart, lifecycleStop, lifecycleStop, logState, pause, start, startNestedComponent, stop, stopvoid onMeasurements(IDeviceMeasurements measurements) throws SiteWhereException
measurements - event informationSiteWhereException - if an error occurs in processingvoid onLocation(IDeviceLocation location) throws SiteWhereException
location - event informationSiteWhereException - if an error occurs in processingvoid onAlert(IDeviceAlert alert) throws SiteWhereException
alert - event informationSiteWhereException - if an error occurs in processingvoid onCommandInvocation(IDeviceCommandInvocation invocation) throws SiteWhereException
invocation - event informationSiteWhereException - if an error occurs in processingvoid onCommandResponse(IDeviceCommandResponse response) throws SiteWhereException
response - event informationSiteWhereException - if an error occurs in processingvoid onStateChange(IDeviceStateChange state) throws SiteWhereException
state - event informationSiteWhereException - if an error occurs in processing