public abstract class ByteToByteCodec
extends io.netty.channel.ChannelHandlerAdapter
implements io.netty.channel.ChannelInboundByteHandler, io.netty.channel.ChannelOutboundByteHandler
| Constructor and Description |
|---|
ByteToByteCodec() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
io.netty.buffer.ByteBuf out) |
abstract void |
encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
io.netty.buffer.ByteBuf out) |
void |
flush(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelFuture future) |
void |
inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx) |
io.netty.buffer.ByteBuf |
newInboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
io.netty.buffer.ByteBuf |
newOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
bind, close, connect, deregister, disconnectafterAdd, afterRemove, beforeAdd, beforeRemove, channelActive, channelInactive, channelRegistered, channelUnregistered, exceptionCaught, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelActive, channelInactive, channelRegistered, channelUnregisteredpublic io.netty.buffer.ByteBuf newInboundBuffer(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
newInboundBuffer in interface io.netty.channel.ChannelInboundByteHandlernewInboundBuffer in interface io.netty.channel.ChannelInboundHandlerExceptionpublic void inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
inboundBufferUpdated in interface io.netty.channel.ChannelStateHandlerinboundBufferUpdated in class io.netty.channel.ChannelStateHandlerAdapterExceptionpublic io.netty.buffer.ByteBuf newOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
newOutboundBuffer in interface io.netty.channel.ChannelOutboundByteHandlernewOutboundBuffer in interface io.netty.channel.ChannelOutboundHandlerExceptionpublic void flush(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelFuture future)
throws Exception
flush in interface io.netty.channel.ChannelOperationHandlerflush in class io.netty.channel.ChannelHandlerAdapterExceptionpublic abstract void encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
io.netty.buffer.ByteBuf out)
throws Exception
ExceptionCopyright © 2008-2012 The Netty Project. All Rights Reserved.