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 voidalert(Cop1Monitor.AlertType alert)voiddisabled()Called when the COP1 has been disabledvoidstateChanged(int oldState, int newState)Called each time when the state changes.voidsuspended(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:Cop1MonitorCalled when the operations have been suspended due to a timeout- Specified by:
suspendedin interfaceCop1Monitor- Parameters:
suspendState- - the state of the FOP-1 when it has been suspended.
-
alert
public void alert(Cop1Monitor.AlertType alert)
- Specified by:
alertin interfaceCop1Monitor
-
stateChanged
public void stateChanged(int oldState, int newState)Description copied from interface:Cop1MonitorCalled each time when the state changes.- Specified by:
stateChangedin interfaceCop1Monitor
-
disabled
public void disabled()
Description copied from interface:Cop1MonitorCalled when the COP1 has been disabled- Specified by:
disabledin interfaceCop1Monitor
-
-