Class UdpCltuUplinker

java.lang.Object
org.yamcs.sle.udpslebridge.UdpCltuUplinker
All Implemented Interfaces:
CltuUplinker

public class UdpCltuUplinker extends Object implements CltuUplinker
  • Constructor Details

    • UdpCltuUplinker

      public UdpCltuUplinker(String hostname, int port, int bitrate)
  • Method Details

    • start

      public int start()
      Description copied from interface: CltuUplinker
      Called at SLE start to start
      Specified by:
      start in interface CltuUplinker
      Returns:
      -1 if the result is successful. return greater or equal with 0 means error and the code will be inserted into the specific part of the SLE start return message
    • uplink

      public CltuUplinker.UplinkResult uplink(byte[] cltuData)
      Description copied from interface: CltuUplinker
      uplinks the CLTU. The method should block for the duration of the uplink
      Specified by:
      uplink in interface CltuUplinker
      Returns:
    • stop

      public void stop()
      Description copied from interface: CltuUplinker
      Called at SLE stop
      Specified by:
      stop in interface CltuUplinker