public class ProtonProtocolManager extends Object implements ProtocolManager<Interceptor>, org.apache.activemq.artemis.core.server.management.NotificationListener
| Constructor and Description |
|---|
ProtonProtocolManager(ProtonProtocolManagerFactory factory,
ActiveMQServer server) |
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 boolean acceptsNoHandshake()
acceptsNoHandshake 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>public List<String> websocketSubprotocolIdentifiers()
websocketSubprotocolIdentifiers in interface ProtocolManager<Interceptor>public String getPubSubPrefix()
public void setPubSubPrefix(String pubSubPrefix)
public int getMaxFrameSize()
public void setMaxFrameSize(int maxFrameSize)
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.