Package org.yamcs.ygw
Class YgwCommandManager
java.lang.Object
org.yamcs.ygw.YgwCommandManager
- All Implemented Interfaces:
StreamSubscriber
Handles direct commands registered by YGW nodes by sending
Ygw.CommandDefinitionList
Creates a stream and registers it in the processor using
StreamTcCommandReleaser.registerOutStream(int, Stream, org.yamcs.StreamTcCommandReleaser.CommandMatcher)
The stream is given top priority and it verifies the command against all command registered from the YGW nodes and
recorded in commands
-
Constructor Summary
ConstructorsConstructorDescriptionYgwCommandManager(YgwLink parentLink, Processor processor, String yamcsInstance) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommandDefs(String namespace, org.yamcs.ygw.protobuf.Ygw.CommandDefinitionList cdefs, YgwNodeLink nodeLink) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.yamcs.yarch.StreamSubscriber
streamClosed
-
Constructor Details
-
YgwCommandManager
-
-
Method Details
-
addCommandDefs
public void addCommandDefs(String namespace, org.yamcs.ygw.protobuf.Ygw.CommandDefinitionList cdefs, YgwNodeLink nodeLink) -
onTuple
- Specified by:
onTuplein interfaceStreamSubscriber
-