public class AmqpConnectionHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Constructor and Description |
|---|
AmqpConnectionHandler(Broker broker) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
close() |
void |
closeChannel(int channel) |
void |
createChannel(int channelId) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
AmqpChannel |
getChannel(int channelId)
Returns the
AmqpChannel for the specified channelId |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic AmqpConnectionHandler(Broker broker)
public 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 exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterpublic AmqpChannel getChannel(int channelId)
AmqpChannel for the specified channelIdchannelId - channel idpublic void closeChannel(int channel)
public void close()
Copyright © 2017 WSO2. All rights reserved.