@ChannelHandler.Sharable
public class EchoServerHandler
extends io.netty.channel.ChannelInboundByteHandlerAdapter
| Constructor and Description |
|---|
EchoServerHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in) |
io.netty.buffer.ByteBuf |
newInboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
discardInboundReadBytes, freeInboundBuffer, inboundBufferUpdatedchannelActive, channelInactive, channelReadSuspended, channelRegistered, channelUnregisteredafterAdd, afterRemove, beforeAdd, beforeRemove, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic io.netty.buffer.ByteBuf newInboundBuffer(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
newInboundBuffer in interface io.netty.channel.ChannelInboundByteHandlernewInboundBuffer in class io.netty.channel.ChannelInboundByteHandlerAdapterExceptionpublic 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.ChannelHandlerAdapterCopyright © 2008-2013 The Netty Project. All Rights Reserved.