Class ListenerThreadImpl

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

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

    • ListenerThreadImpl

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

    • getAcceptor

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

      public void close()
      Specified by:
      close in interface ListenerThread
    • 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