Class NakPacket

java.lang.Object
org.yamcs.cfdp.pdu.CfdpPacket
org.yamcs.cfdp.pdu.NakPacket
All Implemented Interfaces:
FileDirective

public class NakPacket extends CfdpPacket implements FileDirective
  • Constructor Details

  • Method Details

    • writeCFDPPacket

      protected void writeCFDPPacket(ByteBuffer buffer)
      Specified by:
      writeCFDPPacket in class CfdpPacket
    • getDataFieldLength

      public int getDataFieldLength()
      Specified by:
      getDataFieldLength in class CfdpPacket
    • maxNumSegments

      public static int maxNumSegments(int maxDataSize)
      returns the maximum number of segments which can be transmitted given the maximum data size of a PDU
    • getFileDirectiveCode

      public FileDirectiveCode getFileDirectiveCode()
      Specified by:
      getFileDirectiveCode in interface FileDirective
    • getSegmentRequests

      public List<SegmentRequest> getSegmentRequests()
    • getScopeStart

      public long getScopeStart()
    • getScopeEnd

      public long getScopeEnd()
    • toString

      public String toString()
      Overrides:
      toString in class Object