com.devexperts.qd.qtp.file
Class FileReader

java.lang.Object
  extended by java.lang.Thread
      extended by com.devexperts.qd.qtp.QTPWorkerThread
          extended by com.devexperts.qd.qtp.AbstractConnectionHandler<AbstractMessageConnector>
              extended by com.devexperts.qd.qtp.file.FileReader
All Implemented Interfaces:
java.lang.Runnable

public class FileReader
extends AbstractConnectionHandler<AbstractMessageConnector>


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class com.devexperts.qd.qtp.AbstractConnectionHandler
address, connectionStats, connector
 
Fields inherited from class com.devexperts.qd.qtp.QTPWorkerThread
log
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FileReader(AbstractMessageConnector connector)
           
 
Method Summary
protected  void closeImpl(java.lang.Throwable reason)
           
protected  void doWork()
           
 long getDelayActual()
           
 
Methods inherited from class com.devexperts.qd.qtp.AbstractConnectionHandler
getConnectionStats, getHandlerState, handleClose, handleShutdown, makeConnected
 
Methods inherited from class com.devexperts.qd.qtp.QTPWorkerThread
close, isClosed, run
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileReader

public FileReader(AbstractMessageConnector connector)
Method Detail

doWork

protected void doWork()
               throws java.io.IOException,
                      java.lang.InterruptedException
Specified by:
doWork in class QTPWorkerThread
Throws:
java.io.IOException
java.lang.InterruptedException

closeImpl

protected void closeImpl(java.lang.Throwable reason)
Specified by:
closeImpl in class AbstractConnectionHandler<AbstractMessageConnector>

getDelayActual

public long getDelayActual()