public class ProtonProtocolManager extends Object implements ProtocolManager<Interceptor>, org.apache.activemq.artemis.core.server.management.NotificationListener
| Constructor and Description |
|---|
ProtonProtocolManager(ProtonProtocolManagerFactory factory,
ActiveMQServer server) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChannelHandlers(io.netty.channel.ChannelPipeline pipeline) |
ConnectionEntry |
createConnectionEntry(Acceptor acceptorUsed,
Connection remotingConnection) |
MessageConverter |
getConverter() |
ProtocolManagerFactory<Interceptor> |
getFactory() |
ActiveMQServer |
getServer() |
void |
handleBuffer(RemotingConnection connection,
ActiveMQBuffer buffer) |
void |
handshake(org.apache.activemq.artemis.core.remoting.impl.netty.NettyServerConnection connection,
ActiveMQBuffer buffer) |
boolean |
isProtocol(byte[] array) |
void |
onNotification(org.apache.activemq.artemis.core.server.management.Notification notification) |
void |
removeHandler(String name) |
void |
updateInterceptors(List<BaseInterceptor> incomingInterceptors,
List<BaseInterceptor> outgoingInterceptors) |
public ProtonProtocolManager(ProtonProtocolManagerFactory factory, ActiveMQServer server)
public ActiveMQServer getServer()
public MessageConverter getConverter()
getConverter in interface ProtocolManager<Interceptor>public void onNotification(org.apache.activemq.artemis.core.server.management.Notification notification)
onNotification in interface org.apache.activemq.artemis.core.server.management.NotificationListenerpublic ProtocolManagerFactory<Interceptor> getFactory()
getFactory in interface ProtocolManager<Interceptor>public void updateInterceptors(List<BaseInterceptor> incomingInterceptors, List<BaseInterceptor> outgoingInterceptors)
updateInterceptors in interface ProtocolManager<Interceptor>public ConnectionEntry createConnectionEntry(Acceptor acceptorUsed, Connection remotingConnection)
createConnectionEntry in interface ProtocolManager<Interceptor>public void removeHandler(String name)
removeHandler in interface ProtocolManager<Interceptor>public void handleBuffer(RemotingConnection connection, ActiveMQBuffer buffer)
handleBuffer in interface ProtocolManager<Interceptor>public void addChannelHandlers(io.netty.channel.ChannelPipeline pipeline)
addChannelHandlers in interface ProtocolManager<Interceptor>public boolean isProtocol(byte[] array)
isProtocol in interface ProtocolManager<Interceptor>public void handshake(org.apache.activemq.artemis.core.remoting.impl.netty.NettyServerConnection connection,
ActiveMQBuffer buffer)
handshake in interface ProtocolManager<Interceptor>Copyright © 2015 The Apache Software Foundation. All Rights Reserved.