
public final class StatusStateChangeNotification extends StatusMessage<StateBundle,Object>
| Constructor and Description |
|---|
StatusStateChangeNotification(StateBundle oldState,
StateBundle newState)
Create a StatusStateChangeNotification object.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
encodeObject(StateBundle obj)
Subclasses must provide a specific implementation of the encoding process.
|
StateBundle |
getNewState()
Get the new state of the Agent.
|
StateBundle |
getOldState()
Get the old state of the Agent.
|
getState, toStringgetClassName, getEncodedData, getObject, getOriginAgentInfo, getTimeStamp, setOriginAgentInfopublic StatusStateChangeNotification(StateBundle oldState, StateBundle newState)
oldState - The old state before the State changenewState - The new state, i.e. the current Agent state.public StateBundle getNewState()
public StateBundle getOldState()
protected Object encodeObject(StateBundle obj)
BusMessageencodeObject in class BusMessage<StateBundle,Object>obj - The Serializable object embedded in the BusMessage.Copyright © 2018 LSST. All rights reserved.