|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.devexperts.qd.qtp.QTPWorkerThread
com.devexperts.qd.qtp.AbstractConnectionHandler<C>
public abstract class AbstractConnectionHandler<C extends AbstractMessageConnector>
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected java.lang.String |
address
|
protected com.devexperts.transport.stats.ConnectionStats |
connectionStats
|
protected C |
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 | |
---|---|
protected |
AbstractConnectionHandler(C connector)
|
Method Summary | |
---|---|
protected abstract void |
closeImpl(java.lang.Throwable reason)
|
com.devexperts.transport.stats.ConnectionStats |
getConnectionStats()
|
MessageConnectorState |
getHandlerState()
|
protected void |
handleClose(java.lang.Throwable reason)
|
protected void |
handleShutdown()
|
protected boolean |
makeConnected()
|
Methods inherited from class com.devexperts.qd.qtp.QTPWorkerThread |
---|
close, doWork, 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 |
Field Detail |
---|
protected final C extends AbstractMessageConnector connector
protected final java.lang.String address
protected final com.devexperts.transport.stats.ConnectionStats connectionStats
Constructor Detail |
---|
protected AbstractConnectionHandler(C connector)
Method Detail |
---|
public final com.devexperts.transport.stats.ConnectionStats getConnectionStats()
public final MessageConnectorState getHandlerState()
protected final boolean makeConnected()
protected final void handleShutdown()
handleShutdown
in class QTPWorkerThread
protected final void handleClose(java.lang.Throwable reason)
handleClose
in class QTPWorkerThread
protected abstract void closeImpl(java.lang.Throwable reason)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |