Package org.yamcs.tse
Class TcTmServer
- java.lang.Object
-
- com.google.common.util.concurrent.AbstractService
-
- org.yamcs.tse.TcTmServer
-
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
public class TcTmServer extends com.google.common.util.concurrent.AbstractServiceListens for TSE commands in the form of Protobuf messages over TCP/IP.
-
-
Constructor Summary
Constructors Constructor Description TcTmServer(int port, InstrumentController instrumentController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoStart()voiddoStop()voidprocessTseCommand(io.netty.channel.ChannelHandlerContext ctx, TseCommand metadata)-
Methods inherited from class com.google.common.util.concurrent.AbstractService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toString
-
-
-
-
Constructor Detail
-
TcTmServer
public TcTmServer(int port, InstrumentController instrumentController)
-
-
Method Detail
-
doStart
protected void doStart()
- Specified by:
doStartin classcom.google.common.util.concurrent.AbstractService
-
processTseCommand
public void processTseCommand(io.netty.channel.ChannelHandlerContext ctx, TseCommand metadata)
-
doStop
public void doStop()
- Specified by:
doStopin classcom.google.common.util.concurrent.AbstractService
-
-