Class AMQPBrokerConnectionChannelHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
org.apache.activemq.artemis.protocol.amqp.connect.AMQPBrokerConnectionChannelHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler
public class AMQPBrokerConnectionChannelHandler
extends io.netty.channel.ChannelDuplexHandler
Common handler implementation for client and server side handler.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAMQPBrokerConnectionChannelHandler(io.netty.channel.group.ChannelGroup group, ProtonHandler handler, ClientConnectionLifeCycleListener listener, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptionvoidchannelActive(io.netty.channel.ChannelHandlerContext ctx) protected static ObjectchannelId(io.netty.channel.Channel channel) voidchannelInactive(io.netty.channel.ChannelHandlerContext ctx) voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) voidchannelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read, writeMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelRegistered, channelUnregistered, exceptionCaught, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Constructor Details
-
AMQPBrokerConnectionChannelHandler
protected AMQPBrokerConnectionChannelHandler(io.netty.channel.group.ChannelGroup group, ProtonHandler handler, ClientConnectionLifeCycleListener listener, Executor executor)
-
-
Method Details
-
channelId
-
channelActive
-
channelInactive
-
channelWritabilityChanged
- Specified by:
channelWritabilityChangedin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
channelWritabilityChangedin classio.netty.channel.ChannelInboundHandlerAdapter- Throws:
Exception
-
channelRead
-