public class ProtonClientConnectionContext extends AbstractConnectionContext implements AMQPClientConnectionContext
AMQP_CONTAINER_ID, CONNECTION_OPEN_FAILED, connectionCallback, handler, listener| Constructor and Description |
|---|
ProtonClientConnectionContext(AMQPConnectionCallback connectionCallback,
Executor dispatchExecutor,
ScheduledExecutorService scheduledPool) |
ProtonClientConnectionContext(AMQPConnectionCallback connectionCallback,
String containerId,
int idleTimeout,
int maxFrameSize,
int channelMax,
Executor dispatchExecutor,
ScheduledExecutorService scheduledPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
clientOpen(ClientSASL sasl)
This will send an open and block for its return on AMQP protocol.
|
AMQPClientSessionContext |
createClientSession() |
protected AbstractProtonSessionContext |
newSessionExtension(org.apache.qpid.proton.engine.Session realSession) |
protected void |
remoteLinkOpened(org.apache.qpid.proton.engine.Link link) |
void |
setContainer(String containerID) |
capacity, checkDataReceived, close, destroy, flush, flushBytes, getCreationTime, getLock, getPubSubPrefix, getRemoteContainer, getSASLResult, getSessionExtension, inputBuffer, isSyncOnFlush, outputDoneafterInit, initialise, isInitialized, waitWithTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcapacity, checkDataReceived, close, flush, getCreationTime, getLock, getSASLResult, inputBuffer, isSyncOnFlush, outputDonepublic ProtonClientConnectionContext(AMQPConnectionCallback connectionCallback, Executor dispatchExecutor, ScheduledExecutorService scheduledPool)
public ProtonClientConnectionContext(AMQPConnectionCallback connectionCallback, String containerId, int idleTimeout, int maxFrameSize, int channelMax, Executor dispatchExecutor, ScheduledExecutorService scheduledPool)
public void clientOpen(ClientSASL sasl) throws Exception
AMQPClientConnectionContextclientOpen in interface AMQPClientConnectionContextExceptionpublic AMQPClientSessionContext createClientSession() throws ActiveMQAMQPException
createClientSession in interface AMQPClientConnectionContextActiveMQAMQPExceptionpublic void setContainer(String containerID)
setContainer in interface AMQPClientConnectionContextprotected AbstractProtonSessionContext newSessionExtension(org.apache.qpid.proton.engine.Session realSession) throws ActiveMQAMQPException
newSessionExtension in class AbstractConnectionContextActiveMQAMQPExceptionprotected void remoteLinkOpened(org.apache.qpid.proton.engine.Link link)
throws Exception
remoteLinkOpened in class AbstractConnectionContextExceptionCopyright © 2016 The Apache Software Foundation. All Rights Reserved.