Class TcpTmTcLink

  • All Implemented Interfaces:
    com.google.common.util.concurrent.Service

    public class TcpTmTcLink
    extends com.google.common.util.concurrent.AbstractExecutionThreadService
    TCP link that can be used both for TM and TC
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service

        com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
    • Constructor Detail

      • TcpTmTcLink

        public TcpTmTcLink​(String name,
                           Simulator simulator,
                           int port)
    • Method Detail

      • sendPacket

        public void sendPacket​(byte[] packet)
      • run

        protected void run()
                    throws Exception
        Specified by:
        run in class com.google.common.util.concurrent.AbstractExecutionThreadService
        Throws:
        Exception
      • ackPacketSend

        public void ackPacketSend​(CCSDSPacket packet)
      • triggerShutdown

        protected void triggerShutdown()
        Overrides:
        triggerShutdown in class com.google.common.util.concurrent.AbstractExecutionThreadService