protected abstract class JMSConnector.AsyncConnection extends Thread
Modifier and Type | Class and Description |
---|---|
protected class |
JMSConnector.AsyncConnection.ListenerSession |
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier | Constructor and Description |
---|---|
protected |
JMSConnector.AsyncConnection(ConnectionFactory connectionFactory,
Connection connection,
String threadName,
String clientID,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
protected abstract JMSConnector.AsyncConnection.ListenerSession |
createListenerSession(Connection connection,
Subscription subscription) |
protected void |
onConnect() |
protected void |
onException() |
protected void |
onShutdown() |
activeCount, 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, yield
protected JMSConnector.AsyncConnection(ConnectionFactory connectionFactory, Connection connection, String threadName, String clientID, String username, String password) throws JMSException
JMSException
protected abstract JMSConnector.AsyncConnection.ListenerSession createListenerSession(Connection connection, Subscription subscription) throws Exception
Exception
protected void onShutdown()
protected void onException()
Copyright © The Apache Software Foundation. All Rights Reserved.