Class UNICAST3.RetransmitTask

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    UNICAST3

    protected class UNICAST3.RetransmitTask
    extends java.lang.Object
    implements java.lang.Runnable
    Retransmitter task which periodically (every xmit_interval ms):
    • If any of the receiver windows have the ack flag set, clears the flag and sends an ack for the highest delivered seqno to the sender
    • Checks all receiver windows for missing messages and asks senders for retransmission
    • For all sender windows, checks if highest acked (HA) < highest sent (HS). If not, and HA/HS is the same as on the last retransmission run, send the highest sent message again
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RetransmitTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RetransmitTask

        protected RetransmitTask()
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object