| Package | Description |
|---|---|
| org.lsst.ccs.bus.messages |
This package defines all the standard messages for the CCS buses.
|
| org.lsst.ccs.bus.states |
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StatusStateChangeNotification.getNewState()
Get the new state of the Agent.
|
StateBundle |
StatusStateChangeNotification.getOldState()
Get the old state of the Agent.
|
StateBundle |
StatusMessage.getState()
Get the published State object that contains the Agent's internal state
at the moment the StatusMessage was published.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
StatusStateChangeNotification.encodeObject(StateBundle obj) |
| Constructor and Description |
|---|
StatusClearedAlert(String[] clearAlertIds,
StateBundle state,
RaisedAlertSummary raisedAlertSummary)
Build a StatusClearAlert from the provided String array and the
RaisedAlertSummary of the subsystem. |
StatusConfigurationInfo(ConfigurationInfo configurationInfo,
StateBundle state)
Create a StatusConfigurationInfo message by providing the state of the agent
and the ConfigurationInfo object to be sent.
|
StatusData(KeyValueData obj,
StateBundle state)
Build a StatusMessage from the provided Object.
|
StatusDataProviderDictionary(DataProviderDictionary dataProviderDictionary,
StateBundle state)
Create a StatusDataProviderDictionary message by providing the DataProviderDictionary.
|
StatusEnum(T obj,
StateBundle state) |
StatusHeartBeat(int statusBroadcastPeriod,
StateBundle state) |
StatusMessage(T obj,
StateBundle state)
Build a StatusMessage from the provided Object.
|
StatusRaisedAlert(Alert alert,
String cause,
StateBundle state) |
StatusRaisedAlert(Alert alert,
String cause,
StateBundle state,
RaisedAlertSummary raisedAlertSummary)
Build a StatusAlert from the provided RaisedAlert.
|
StatusRuntimeInfo(RuntimeInfo runtimeInfo,
StateBundle state)
Create a StatusRuntimeInfo message by providing the state of the agent.
|
StatusStateChangeNotification(StateBundle oldState,
StateBundle newState)
Create a StatusStateChangeNotification object.
|
StatusSubsystemData(KeyValueData kvData,
StateBundle state)
Build a StatusMessage from the provided Object.
|
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StateBundle.clone() |
StateBundle |
StateBundle.diffState(StateBundle oldState)
Finds what has changed.
|
StateBundle |
StateBundle.getComponentStateBundle(String component)
Get the StateBundle for the given component.
|
StateBundle |
StateBundle.mergeState(StateBundle newState)
Merge the content of two StateBundle objects returning an updated cloned
version of the original StateBundle object.
|
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StateBundle.diffState(StateBundle oldState)
Finds what has changed.
|
boolean |
StateBundle.isComponentInState(String component,
StateBundle stateBundle)
Check if this component is in all the states of a given StateBundle.
|
boolean |
StateBundle.isInState(StateBundle stateBundle)
Check if this StateBundle is in all the states of a given StateBundle.
|
static boolean |
AgentState.isLegal(StateBundle bundle)
Returns
true if Agent internal states in the specified bundle are consistent. |
static boolean |
AgentState.isLegal(StateBundle before,
StateBundle after)
Returns
true if the transition between Agent internal states specified
by the two bundles is allowed. |
StateBundle |
StateBundle.mergeState(StateBundle newState)
Merge the content of two StateBundle objects returning an updated cloned
version of the original StateBundle object.
|
Copyright © 2018 LSST. All rights reserved.