Package org.lsst.ccs.services
Class AgentStateService.AgentStateServiceCommands
java.lang.Object
org.lsst.ccs.services.AgentStateService.AgentStateServiceCommands
- Enclosing class:
- AgentStateService
-
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of a state bundle of this Agent.voidPublishes a StatusStateBundle message.
-
Method Details
-
getState
@Option(name="topStatesOnly", description="Return only the top level states") @Command(category=CORE, type=QUERY) public StateBundle getState(Options options) Returns a copy of a state bundle of this Agent.- Returns:
- state for the specified class.
-
publishState
Publishes a StatusStateBundle message. This command is used internally by this service as a fallback scenario when the original publication has been missed.
-