public final class StatusStateChangeNotification extends StatusMessage<StateBundle,Object>
obj| Constructor and Description |
|---|
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 | Method and Description |
|---|---|
protected Object |
encodeObject(StateBundle obj)
Subclasses must provide a specific implementation of the encoding process.
|
String |
getCause()
Get the reason for this state transition.
|
StateBundle |
getNewState()
Get the new state of the Agent.
|
StateBundle |
getOldState()
Get the old state of the Agent.
|
org.lsst.ccs.utilities.taitime.CCSTimeStamp |
getStateTransitionTimestamp()
Get the CCSTimeStamp of this state transition.
|
getState, setState, toStringgetCCSTimeStamp, getClassName, getDeserializationDuration, getDoneDeSerializationTime, getEncodedData, getIncomingQueueInTimeStamp, getIncomingQueueOutTimeStamp, getObject, getOriginAgentInfo, getOutgoingQueueInTimeStamp, getOutgoingQueueOutTimeStamp, getSerializationDuration, getSerializationTime, getTransferDuration, setIncomingQueueInTimeStamp, setIncomingQueueOutTimeStamp, setOriginAgentInfo, setOutgoingQueueInTimeStamp, setOutgoingQueueOutTimeStamp, updateTimingInformationpublic StatusStateChangeNotification(org.lsst.ccs.utilities.taitime.CCSTimeStamp stateTransitionTimestamp,
StateBundle oldState,
String cause)
cause - The reason the state transition happened.stateTransitionTimestamp - The CCSTimeStamp corresponding to this state transitionoldState - The old state before the State changepublic StatusStateChangeNotification(org.lsst.ccs.utilities.taitime.CCSTimeStamp stateTransitionTimestamp,
StateBundle oldState,
String cause,
boolean skipSerialization)
cause - The reason the state transition happened.stateTransitionTimestamp - The CCSTimeStamp corresponding to this state transitionoldState - The old state before the State changeskipSerialization - do not serialize the object. This is to be true only
for messages that are created on the client side during
the preProcessBusMessage step.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.public org.lsst.ccs.utilities.taitime.CCSTimeStamp getStateTransitionTimestamp()
public String getCause()
Copyright © 2024 LSST. All rights reserved.