public class AMQPConnectionContext extends ProtonInitializable
| Modifier and Type | Field and Description |
|---|---|
static String |
AMQP_CONTAINER_ID |
static org.apache.qpid.proton.amqp.Symbol |
CONNECTION_OPEN_FAILED |
protected AMQPConnectionCallback |
connectionCallback |
protected ProtonHandler |
handler |
protected org.apache.activemq.artemis.protocol.amqp.proton.AMQPConnectionContext.LocalListener |
listener |
| Constructor and Description |
|---|
AMQPConnectionContext(AMQPConnectionCallback connectionSP,
String containerId,
int idleTimeout,
int maxFrameSize,
int channelMax,
Executor dispatchExecutor,
ScheduledExecutorService scheduledPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventHandler(EventHandler eventHandler) |
int |
capacity() |
boolean |
checkDataReceived() |
void |
close(org.apache.qpid.proton.amqp.transport.ErrorCondition errorCondition) |
void |
destroy() |
void |
flush() |
protected void |
flushBytes() |
org.apache.qpid.proton.amqp.Symbol[] |
getConnectionCapabilitiesOffered() |
String |
getContainer() |
long |
getCreationTime() |
Object |
getLock() |
String |
getPubSubPrefix() |
String |
getRemoteContainer() |
SASLResult |
getSASLResult() |
protected AMQPSessionContext |
getSessionExtension(org.apache.qpid.proton.engine.Session realSession) |
protected void |
initInternal() |
void |
inputBuffer(io.netty.buffer.ByteBuf buffer) |
boolean |
isSyncOnFlush() |
protected AMQPSessionContext |
newSessionExtension(org.apache.qpid.proton.engine.Session realSession) |
void |
open(Map<org.apache.qpid.proton.amqp.Symbol,Object> connectionProperties) |
void |
outputDone(int bytes) |
protected void |
remoteLinkOpened(org.apache.qpid.proton.engine.Link link) |
protected boolean |
validateConnection(org.apache.qpid.proton.engine.Connection connection) |
initialise, isInitializedpublic static final org.apache.qpid.proton.amqp.Symbol CONNECTION_OPEN_FAILED
public static final String AMQP_CONTAINER_ID
protected final ProtonHandler handler
protected AMQPConnectionCallback connectionCallback
protected org.apache.activemq.artemis.protocol.amqp.proton.AMQPConnectionContext.LocalListener listener
public AMQPConnectionContext(AMQPConnectionCallback connectionSP, String containerId, int idleTimeout, int maxFrameSize, int channelMax, Executor dispatchExecutor, ScheduledExecutorService scheduledPool)
protected AMQPSessionContext newSessionExtension(org.apache.qpid.proton.engine.Session realSession) throws ActiveMQAMQPException
ActiveMQAMQPExceptionpublic SASLResult getSASLResult()
public void inputBuffer(io.netty.buffer.ByteBuf buffer)
public void destroy()
public boolean isSyncOnFlush()
public Object getLock()
public int capacity()
public void outputDone(int bytes)
public void flush()
public void close(org.apache.qpid.proton.amqp.transport.ErrorCondition errorCondition)
protected AMQPSessionContext getSessionExtension(org.apache.qpid.proton.engine.Session realSession) throws ActiveMQAMQPException
ActiveMQAMQPExceptionprotected boolean validateConnection(org.apache.qpid.proton.engine.Connection connection)
public boolean checkDataReceived()
public long getCreationTime()
protected void flushBytes()
public String getRemoteContainer()
public String getPubSubPrefix()
protected void remoteLinkOpened(org.apache.qpid.proton.engine.Link link)
throws Exception
Exceptionpublic org.apache.qpid.proton.amqp.Symbol[] getConnectionCapabilitiesOffered()
public String getContainer()
public void addEventHandler(EventHandler eventHandler)
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.