Class ListenerThreadImpl

java.lang.Object
com.sun.corba.ee.impl.transport.ListenerThreadImpl
All Implemented Interfaces:
Work, ListenerThread

public class ListenerThreadImpl extends Object implements ListenerThread, Work
  • Field Details

    • wrapper

      private static final ORBUtilSystemException wrapper
    • orb

      private ORB orb
    • acceptor

      private Acceptor acceptor
    • keepRunning

      private boolean keepRunning
    • enqueueTime

      private long enqueueTime
  • Constructor Details

    • ListenerThreadImpl

      public ListenerThreadImpl(ORB orb, Acceptor acceptor)
  • Method Details

    • getAcceptor

      public Acceptor getAcceptor()
      Specified by:
      getAcceptor in interface ListenerThread
    • close

      public void close()
      Specified by:
      close in interface ListenerThread
    • isRunning

      private boolean isRunning()
    • display

      @InfoMethod private void display(String msg)
    • display

      @InfoMethod private void display(String msg, 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 String getName()
      Description copied from interface: Work
      This method will return the name of the work item.
      Specified by:
      getName in interface Work