Class SegmentRequest

java.lang.Object
org.yamcs.cfdp.pdu.SegmentRequest

public class SegmentRequest extends Object
The SegmentRequest is part of a NAK PDU to indicate a missing part of a file.

segmentStart=segmentEnd=0 means that the metadata PDU was missing.

  • Constructor Details

    • SegmentRequest

      public SegmentRequest(long start, long end)
  • Method Details

    • getSegmentStart

      public long getSegmentStart()
    • getSegmentEnd

      public long getSegmentEnd()
    • isMetadata

      public boolean isMetadata()
    • isInRange

      public boolean isInRange(long value)
    • writeToBuffer

      public void writeToBuffer(ByteBuffer buffer)
    • toString

      public String toString()
      Overrides:
      toString in class Object