| Package | Description |
|---|---|
| org.lsst.ccs.bus.messages |
This package defines all the standard messages for the CCS buses.
|
| org.lsst.ccs.bus.states | |
| org.lsst.ccs.messaging |
Package defining the CCS Messaging interfaces.
|
| org.lsst.ccs.services |
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StatusStateBundle.getFullState()
Get the full state of the Agent.
|
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) |
protected Object |
StatusStateBundle.encodeObject(StateBundle obj) |
void |
StatusMessage.setState(StateBundle state)
Set the StateBundle of this StatusMessage.
|
| Constructor and Description |
|---|
StatusEnum(T obj,
StateBundle state) |
StatusStateBundle(StateBundle fullState)
Create a StatusStateBundle object.
|
StatusStateChangeNotification(org.lsst.ccs.utilities.taitime.CCSTimeStamp stateTransitionTimestamp,
StateBundle oldState,
String cause)
Create a StatusStateChangeNotification object.
|
StatusStateChangeNotification(org.lsst.ccs.utilities.taitime.CCSTimeStamp stateTransitionTimestamp,
StateBundle oldState,
String cause,
boolean skipSerialization)
Create a StatusStateChangeNotification object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnmodifiableStateBundle
A version of the StateBundle that cannot be modified.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,StateBundle> |
StateBundle.componentStates |
| 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.
|
| Constructor and Description |
|---|
UnmodifiableStateBundle(StateBundle originalStateBundle)
Constructs an UnmodifiableStateBundle from the original StateBundle.
|
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
StateBundleAggregator.getState(String origin) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,StateBundle> |
StateBundleAggregator.getStates() |
| Modifier and Type | Method and Description |
|---|---|
void |
StateBundleAggregator.notifyObservers(String origin,
StateBundle old,
StateBundle change) |
void |
StateBundleAggregator.Observer.stateChanged(String sysName,
StateBundle out,
StateBundle changed) |
| Modifier and Type | Method and Description |
|---|---|
StateBundle |
AgentStateService.getState()
Returns a clone of the current Agent state.
|
StateBundle |
AgentStateService.AgentStateServiceCommands.getState()
Returns a copy of a state bundle of this Agent.
|
StateBundle |
AgentStateService.getStateBundleForAgent(String agentName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AgentStateService.isInState(StateBundle state)
Checks if this
Agent is in all of the states contained in the given StateBundle. |
void |
AgentStateService.updateAgentState(org.lsst.ccs.utilities.taitime.CCSTimeStamp stateTransitionTimestamp,
StateBundle stateChanges)
Updates the state of this Agent and publishes StateChangeNotification message
only if the Agent is connected to the buses.
|
void |
AgentStateService.updateAgentState(StateBundle stateChanges)
Updates the state of this Agent and publishes StateChangeNotification message
only if the Agent is connected to the buses.
|
void |
AgentStateService.updateAgentState(String cause,
org.lsst.ccs.utilities.taitime.CCSTimeStamp stateTransitionTimestamp,
StateBundle stateChanges)
Updates the state of this Agent and publishes StateChangeNotification message
only if the Agent is connected to the buses.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AgentStateService.waitFor(Predicate<StateBundle> target,
long timeout,
TimeUnit unit)
Deprecated.
|
void |
AgentStateService.waitForStatePredicate(Predicate<StateBundle> target,
long timeout,
TimeUnit unit) |
Copyright © 2024 LSST. All rights reserved.