@ChannelHandler.Sharable
public class DataLengthEncoder
extends io.netty.handler.codec.MessageToByteEncoder<byte[]>
Constructor and Description |
---|
DataLengthEncoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
byte[] bytes,
io.netty.buffer.ByteBuf byteBuf) |
acceptOutboundMessage, allocateBuffer, write
bind, close, connect, deregister, disconnect, flush, read
exceptionCaught, handlerAdded, handlerRemoved, isSharable
Copyright © 2015. All rights reserved.