Class ABP.Entry

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

    protected class ABP.Entry
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte bit  
      protected java.util.concurrent.BlockingQueue<Message> send_queue  
      protected java.lang.Thread xmit_task  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Entry()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void handleAck​(byte ack_bit)  
      protected boolean handleMessage​(Address sender, byte msg_bit)  
      void run()  
      protected void send​(Message msg)  
      protected void startTask()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bit

        protected byte bit
      • send_queue

        protected final java.util.concurrent.BlockingQueue<Message> send_queue
      • xmit_task

        protected java.lang.Thread xmit_task
    • Constructor Detail

      • Entry

        protected Entry()
    • Method Detail

      • send

        protected void send​(Message msg)
      • handleMessage

        protected boolean handleMessage​(Address sender,
                                        byte msg_bit)
      • handleAck

        protected void handleAck​(byte ack_bit)
      • startTask

        protected void startTask()
      • run

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