public class ActiveMQChannelHandler
extends io.netty.channel.ChannelDuplexHandler
| Modifier | Constructor and Description |
|---|---|
protected |
ActiveMQChannelHandler(io.netty.channel.group.ChannelGroup group,
BufferHandler handler,
BaseConnectionLifeCycleListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
protected static int |
channelId(io.netty.channel.Channel channel) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
bind, close, connect, deregister, disconnect, flush, read, writechannelReadComplete, channelRegistered, channelUnregistered, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected ActiveMQChannelHandler(io.netty.channel.group.ChannelGroup group,
BufferHandler handler,
BaseConnectionLifeCycleListener listener)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelWritabilityChanged in interface io.netty.channel.ChannelInboundHandlerchannelWritabilityChanged in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionprotected static int channelId(io.netty.channel.Channel channel)
Copyright © 2018 JBoss by Red Hat. All rights reserved.