public class ObjectEchoClientHandler extends io.netty.channel.ChannelInboundMessageHandlerAdapter<List<Integer>>
| Constructor and Description |
|---|
ObjectEchoClientHandler(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 |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
List<Integer> msg) |
beginMessageReceived, endMessageReceived, inboundBufferUpdated, newInboundBufferafterAdd, afterRemove, beforeAdd, beforeRemove, channelInactive, channelRegistered, channelUnregistered, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ObjectEchoClientHandler(int firstMessageSize)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive in interface io.netty.channel.ChannelStateHandlerchannelActive in class io.netty.channel.ChannelStateHandlerAdapterExceptionpublic void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
List<Integer> msg)
throws Exception
Copyright © 2008-2012 The Netty Project. All Rights Reserved.