public class ActiveMQProtonConnectionCallback extends Object implements AMQPConnectionCallback
| Modifier and Type | Field and Description |
|---|---|
protected AMQPConnectionContext |
amqpConnection |
protected ActiveMQProtonRemotingConnection |
protonConnectionDelegate |
| Constructor and Description |
|---|
ActiveMQProtonConnectionCallback(ProtonProtocolManager manager,
Connection connection,
Executor closeExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
AMQPSessionCallback |
createSessionCallback(AMQPConnectionContext connection) |
AMQPConnectionContext |
getConnection() |
Executor |
getExeuctor() |
ActiveMQProtonRemotingConnection |
getProtonConnectionDelegate() |
ServerSASL[] |
getSASLMechnisms() |
void |
onTransport(io.netty.buffer.ByteBuf byteBuf,
AMQPConnectionContext amqpConnection)
this is called when bytes are available to be sent to the client.
|
void |
setConnection(AMQPConnectionContext connection) |
void |
setProtonConnectionDelegate(ActiveMQProtonRemotingConnection protonConnectionDelegate) |
protected ActiveMQProtonRemotingConnection protonConnectionDelegate
protected AMQPConnectionContext amqpConnection
public ActiveMQProtonConnectionCallback(ProtonProtocolManager manager, Connection connection, Executor closeExecutor)
public ServerSASL[] getSASLMechnisms()
getSASLMechnisms in interface AMQPConnectionCallbackpublic void close()
close in interface AMQPConnectionCallbackpublic Executor getExeuctor()
public void setConnection(AMQPConnectionContext connection)
setConnection in interface AMQPConnectionCallbackpublic AMQPConnectionContext getConnection()
getConnection in interface AMQPConnectionCallbackpublic ActiveMQProtonRemotingConnection getProtonConnectionDelegate()
public void setProtonConnectionDelegate(ActiveMQProtonRemotingConnection protonConnectionDelegate)
public void onTransport(io.netty.buffer.ByteBuf byteBuf,
AMQPConnectionContext amqpConnection)
AMQPConnectionCallbackAMQPConnectionContext.outputDone(int) after you're done with this bufferonTransport in interface AMQPConnectionCallbackpublic AMQPSessionCallback createSessionCallback(AMQPConnectionContext connection)
createSessionCallback in interface AMQPConnectionCallbackCopyright © 2024 The Apache Software Foundation. All rights reserved.