Package org.yamcs.tctm.ccsds
Class ClcwStreamHelper
java.lang.Object
org.yamcs.tctm.ccsds.ClcwStreamHelper
A CLCW stream is a stream used to pass the CLCW (Command Link Control Word - see CCSDS 232.0-B-3) between the
receiver and the FOP1 processor.
It is just a stream where the tuples have one column, an integer.
This class provides some methods to help create, publish and subscribe to such a stream.
-
Constructor Summary
ConstructorDescriptionClcwStreamHelper
(String yamcsInstance, String streamName) Creates the stream with the given name in the given yamcs instance, if it does not already exist -
Method Summary
-
Constructor Details
-
ClcwStreamHelper
Creates the stream with the given name in the given yamcs instance, if it does not already exist- Parameters:
yamcsInstance
-streamName
-
-
-
Method Details
-
sendClcw
public void sendClcw(int clcw) Sends the CLCW down the stream- Parameters:
clcw
-
-
onClcw
Register a consumer to be called each time a new CLCW is received- Parameters:
c
-
-
quit
public void quit()
-