T
- format for encoded command. Must be compatible with the
ICommandDeliveryProvider
that will deliver the command.public interface ICommandExecutionEncoder<T> extends ITenantLifecycleComponent
IDeviceCommandExecution
into a format that can be
transmitted.Modifier and Type | Method and Description |
---|---|
T |
encode(IDeviceCommandExecution command,
IDeviceNestingContext nested,
IDeviceAssignment assignment)
Encodes a command execution.
|
T |
encodeSystemCommand(ISystemCommand command,
IDeviceNestingContext nested,
IDeviceAssignment assignment)
Encodes a SiteWhere system command.
|
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
T encode(IDeviceCommandExecution command, IDeviceNestingContext nested, IDeviceAssignment assignment) throws SiteWhereException
command
- nested
- assignment
- SiteWhereException
T encodeSystemCommand(ISystemCommand command, IDeviceNestingContext nested, IDeviceAssignment assignment) throws SiteWhereException
command
- nested
- assignment
- SiteWhereException