
public interface StateChangeListener
| Modifier and Type | Method and Description |
|---|---|
default void |
stateChanged(org.lsst.ccs.utilities.taitime.CCSTimeStamp stateTransitionTimestamp,
Object changedObj,
Enum<?> newState,
Enum<?> oldState)
This method is called back when there is a state change
|
default void |
stateChanged(Object changedObj,
Enum<?> newState,
Enum<?> oldState)
Deprecated.
Use stateChanged(CCSTimestamp, Object, Enum, Enum) instead.
|
@Deprecated default void stateChanged(Object changedObj, Enum<?> newState, Enum<?> oldState)
changedObj - the object for which the state change happened.
If no component object exists then we return the name
of the component.newState - The new state.oldState - The old state.default void stateChanged(org.lsst.ccs.utilities.taitime.CCSTimeStamp stateTransitionTimestamp,
Object changedObj,
Enum<?> newState,
Enum<?> oldState)
stateTransitionTimestamp - The CCSTimeStamp corresponding to this state transitionchangedObj - the object for which the state change happened.
If no component object exists then we return the name
of the component.newState - The new state.oldState - The old state.Copyright © 2021 LSST. All rights reserved.