Package org.yamcs.tctm.ccsds
Class Cop1MonitorImpl
- java.lang.Object
-
- org.yamcs.tctm.ccsds.Cop1MonitorImpl
-
- All Implemented Interfaces:
Cop1Monitor
public class Cop1MonitorImpl extends Object implements Cop1Monitor
Sends events and websocket messages for FOP1 state changes and alerts
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.yamcs.tctm.ccsds.Cop1Monitor
Cop1Monitor.AlertType
-
-
Constructor Summary
Constructors Constructor Description Cop1MonitorImpl(String yamcsInstance, String linkName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
alert(Cop1Monitor.AlertType alert)
void
disabled()
Called when the COP1 has been disabledvoid
stateChanged(int oldState, int newState)
Called each time when the state changes.void
suspended(int suspendState)
Called when the operations have been suspended due to a timeout-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.yamcs.tctm.ccsds.Cop1Monitor
clcwReceived, tcQueued, tcSent
-
-
-
-
Method Detail
-
suspended
public void suspended(int suspendState)
Description copied from interface:Cop1Monitor
Called when the operations have been suspended due to a timeout- Specified by:
suspended
in interfaceCop1Monitor
- Parameters:
suspendState
- - the state of the FOP-1 when it has been suspended.
-
alert
public void alert(Cop1Monitor.AlertType alert)
- Specified by:
alert
in interfaceCop1Monitor
-
stateChanged
public void stateChanged(int oldState, int newState)
Description copied from interface:Cop1Monitor
Called each time when the state changes.- Specified by:
stateChanged
in interfaceCop1Monitor
-
disabled
public void disabled()
Description copied from interface:Cop1Monitor
Called when the COP1 has been disabled- Specified by:
disabled
in interfaceCop1Monitor
-
-