Class ReaderThreadImpl

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

public class ReaderThreadImpl extends Object implements ReaderThread, Work
  • Field Details

    • orb

      private ORB orb
    • connection

      private Connection connection
    • keepRunning

      private boolean keepRunning
    • enqueueTime

      private long enqueueTime
    • wrapper

      private static final ORBUtilSystemException wrapper
  • Constructor Details

    • ReaderThreadImpl

      public ReaderThreadImpl(ORB orb, Connection connection)
  • Method Details

    • getConnection

      public Connection getConnection()
      Specified by:
      getConnection in interface ReaderThread
    • close

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