public interface ICommandProcessingStrategy extends ITenantLifecycleComponent
Modifier and Type | Method and Description |
---|---|
void |
deliverCommand(IDeviceCommunication communication,
IDeviceCommandInvocation invocation)
Send a command using the given communication subsystem implementation.
|
void |
deliverSystemCommand(IDeviceCommunication communication,
java.lang.String hardwareId,
ISystemCommand command)
Delivers a system command using the given communication subsystem
implementation.
|
ICommandTargetResolver |
getCommandTargetResolver()
Get the
ICommandTargetResolver implementation. |
getTenant, setTenant
canPause, findComponentsOfType, getComponentId, getComponentName, getComponentType, getCreatedDate, getLifecycleComponents, getLifecycleError, getLifecycleStatus, getLogger, initialize, initializeNestedComponent, lifecycleInitialize, lifecyclePause, lifecycleStart, lifecycleStop, lifecycleStop, logState, pause, start, startNestedComponent, stop, stop
ICommandTargetResolver getCommandTargetResolver()
ICommandTargetResolver
implementation.void deliverCommand(IDeviceCommunication communication, IDeviceCommandInvocation invocation) throws SiteWhereException
communication
- invocation
- SiteWhereException
void deliverSystemCommand(IDeviceCommunication communication, java.lang.String hardwareId, ISystemCommand command) throws SiteWhereException
communication
- hardwareId
- command
- SiteWhereException