Class AckInfo


  • public class AckInfo
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int endseqno
      The end seqno.
      protected int startseqno
      The start seqno.
      protected boolean stop
      The stop flag.
    • Constructor Summary

      Constructors 
      Constructor Description
      AckInfo()
      Create a new ack info.
      AckInfo​(int startseqno, int endseqno, boolean stop)
      Create a new ack info.
    • Field Detail

      • startseqno

        protected int startseqno
        The start seqno.
      • endseqno

        protected int endseqno
        The end seqno.
      • stop

        protected boolean stop
        The stop flag.
    • Constructor Detail

      • AckInfo

        public AckInfo()
        Create a new ack info.
      • AckInfo

        public AckInfo​(int startseqno,
                       int endseqno,
                       boolean stop)
        Create a new ack info.
    • Method Detail

      • getStartSequenceNumber

        public int getStartSequenceNumber()
        Get the startSequenceNumber.
        Returns:
        The startSequenceNumber.
      • setStartSequenceNumber

        public void setStartSequenceNumber​(int startSequenceNumber)
        Set the startSequenceNumber.
        Parameters:
        startSequenceNumber - The startSequenceNumber to set.
      • getEndSequenceNumber

        public int getEndSequenceNumber()
        Get the endSequenceNumber.
        Returns:
        The endSequenceNumber.
      • setEndSequenceNumber

        public void setEndSequenceNumber​(int endSequenceNumber)
        Set the endSequenceNumber.
        Parameters:
        endSequenceNumber - The endSequenceNumber to set.
      • isStop

        public boolean isStop()
        Get the stop.
        Returns:
        The stop.
      • setStop

        public void setStop​(boolean stop)
        Set the stop.
        Parameters:
        stop - The stop to set.