public interface IOutboundCommandRouter extends ILifecycleComponent
ICommandDestination
implementations.Modifier and Type | Method and Description |
---|---|
void |
initialize(java.util.List<ICommandDestination<?,?>> destinations)
Initialize the router with destination information.
|
void |
routeCommand(IDeviceCommandExecution execution,
IDeviceNestingContext nesting,
IDeviceAssignment assignment)
Route a command to one of the available destinations.
|
void |
routeSystemCommand(ISystemCommand command,
IDeviceNestingContext nesting,
IDeviceAssignment assignment)
Route a system command to one of the available destinations.
|
canPause, findComponentsOfType, getComponentId, getComponentName, getComponentType, getCreatedDate, getLifecycleComponents, getLifecycleError, getLifecycleStatus, getLogger, initialize, initializeNestedComponent, lifecycleInitialize, lifecyclePause, lifecycleStart, lifecycleStop, lifecycleStop, logState, pause, start, startNestedComponent, stop, stop
void initialize(java.util.List<ICommandDestination<?,?>> destinations) throws SiteWhereException
destinations
- SiteWhereException
void routeCommand(IDeviceCommandExecution execution, IDeviceNestingContext nesting, IDeviceAssignment assignment) throws SiteWhereException
execution
- nesting
- assignment
- SiteWhereException
void routeSystemCommand(ISystemCommand command, IDeviceNestingContext nesting, IDeviceAssignment assignment) throws SiteWhereException
command
- nesting
- assignment
- SiteWhereException