Class ListenerThreadImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      private void display​(java.lang.String msg)  
      private void display​(java.lang.String msg, java.lang.Object value)  
      void doWork()
      This method denotes the actual work that is done by the work item.
      Acceptor getAcceptor()  
      long getEnqueueTime()
      This methods gets the time in millis in the work item, when this work item was enqueued in the work queue.
      java.lang.String getName()
      This method will return the name of the work item.
      private boolean isRunning()  
      void setEnqueueTime​(long timeInMillis)
      This methods sets the time in millis in the work item, when this work item was enqueued in the work queue.
      • Methods inherited from class java.lang.Object

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

      • orb

        private ORB orb
      • keepRunning

        private boolean keepRunning
      • enqueueTime

        private long enqueueTime
    • Constructor Detail

      • ListenerThreadImpl

        public ListenerThreadImpl​(ORB orb,
                                  Acceptor acceptor)
    • Method Detail

      • isRunning

        private boolean isRunning()
      • display

        @InfoMethod
        private void display​(java.lang.String msg)
      • display

        @InfoMethod
        private void display​(java.lang.String msg,
                             java.lang.Object value)
      • doWork

        public void doWork()
        Description copied from interface: Work
        This method denotes the actual work that is done by the work item.
        Specified by:
        doWork in interface Work
      • setEnqueueTime

        public void setEnqueueTime​(long timeInMillis)
        Description copied from interface: Work
        This methods sets the time in millis in the work item, when this work item was enqueued in the work queue.
        Specified by:
        setEnqueueTime in interface Work
      • getEnqueueTime

        public long getEnqueueTime()
        Description copied from interface: Work
        This methods gets the time in millis in the work item, when this work item was enqueued in the work queue.
        Specified by:
        getEnqueueTime in interface Work
      • getName

        public java.lang.String getName()
        Description copied from interface: Work
        This method will return the name of the work item.
        Specified by:
        getName in interface Work