public abstract class AbstractConnectionHandler<C extends AbstractMessageConnector> extends QTPWorkerThread
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractConnectionHandler.Factory |
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected com.devexperts.transport.stats.ConnectionStats |
connectionStats |
protected C |
connector |
logMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConnectionHandler(C connector) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
closeImpl(Throwable reason) |
com.devexperts.transport.stats.ConnectionStats |
getConnectionStats() |
MessageConnectorState |
getHandlerState() |
protected void |
handleClose(Throwable reason) |
protected void |
handleShutdown() |
protected boolean |
makeConnected() |
protected void |
setRemoteOptSet(MessageAdapter adapter,
ProtocolOption.Set optSet) |
close, doWork, isClosed, runactiveCount, checkAccess, clone, 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, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitjoinprotected final C extends AbstractMessageConnector connector
protected final String address
protected final com.devexperts.transport.stats.ConnectionStats connectionStats
protected AbstractConnectionHandler(C connector)
public final com.devexperts.transport.stats.ConnectionStats getConnectionStats()
public final MessageConnectorState getHandlerState()
protected final boolean makeConnected()
protected final void handleShutdown()
handleShutdown in class QTPWorkerThreadprotected final void handleClose(Throwable reason)
handleClose in class QTPWorkerThreadprotected abstract void closeImpl(Throwable reason)
protected void setRemoteOptSet(MessageAdapter adapter, ProtocolOption.Set optSet)
Copyright © 2002–2025 Devexperts LLC. All rights reserved.