T
- public interface ICommandDestination<T,P> extends ITenantLifecycleComponent
Modifier and Type | Method and Description |
---|---|
void |
deliverCommand(IDeviceCommandExecution execution,
IDeviceNestingContext nesting,
IDeviceAssignment assignment)
Deliver a command.
|
void |
deliverSystemCommand(ISystemCommand command,
IDeviceNestingContext nesting,
IDeviceAssignment assignment)
Deliver a system command.
|
ICommandDeliveryParameterExtractor<P> |
getCommandDeliveryParameterExtractor()
Get the configured command delivery parameter extractor.
|
ICommandDeliveryProvider<T,P> |
getCommandDeliveryProvider()
Gets the configured command delivery provider.
|
ICommandExecutionEncoder<T> |
getCommandExecutionEncoder()
Gets the configured command execution encoder.
|
java.lang.String |
getDestinationId()
Get unique identifier for destination.
|
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
java.lang.String getDestinationId()
ICommandExecutionEncoder<T> getCommandExecutionEncoder()
ICommandDeliveryParameterExtractor<P> getCommandDeliveryParameterExtractor()
ICommandDeliveryProvider<T,P> getCommandDeliveryProvider()
void deliverCommand(IDeviceCommandExecution execution, IDeviceNestingContext nesting, IDeviceAssignment assignment) throws SiteWhereException
execution
- nesting
- assignment
- SiteWhereException
void deliverSystemCommand(ISystemCommand command, IDeviceNestingContext nesting, IDeviceAssignment assignment) throws SiteWhereException
command
- nesting
- assignment
- SiteWhereException