public class EchoClientHandler
extends io.netty.channel.ChannelInboundByteHandlerAdapter
| Constructor and Description |
|---|
EchoClientHandler(int firstMessageSize)
Creates a client-side handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in) |
inboundBufferUpdated, newInboundBufferafterAdd, afterRemove, beforeAdd, beforeRemove, channelInactive, channelRegistered, channelUnregistered, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic EchoClientHandler(int firstMessageSize)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive in interface io.netty.channel.ChannelStateHandlerchannelActive in class io.netty.channel.ChannelStateHandlerAdapterpublic void inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in)
inboundBufferUpdated in class io.netty.channel.ChannelInboundByteHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in class io.netty.channel.ChannelStateHandlerAdapterCopyright © 2008-2012 The Netty Project. All Rights Reserved.