T
- type of data that was encoded by the
ICommandExecutionEncoder
/P
- parameters specific to the delivery providerpublic interface ICommandDeliveryProvider<T,P> extends ITenantLifecycleComponent
Modifier and Type | Method and Description |
---|---|
void |
deliver(IDeviceNestingContext nested,
IDeviceAssignment assignment,
IDeviceCommandExecution execution,
T encoded,
P parameters)
Deliver the given encoded invocation.
|
void |
deliverSystemCommand(IDeviceNestingContext nested,
IDeviceAssignment assignment,
T encoded,
P parameters)
Delivers a 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
void deliver(IDeviceNestingContext nested, IDeviceAssignment assignment, IDeviceCommandExecution execution, T encoded, P parameters) throws SiteWhereException
nested
- assignment
- execution
- encoded
- parameters
- SiteWhereException
void deliverSystemCommand(IDeviceNestingContext nested, IDeviceAssignment assignment, T encoded, P parameters) throws SiteWhereException
nested
- assignment
- encoded
- parameters
- SiteWhereException