public class CommandEncoder extends io.netty.handler.codec.MessageToByteEncoder<Object>
ChannelHandler responsible for encoding commands.| Constructor and Description |
|---|
CommandEncoder() |
CommandEncoder(boolean preferDirect) |
| Modifier and Type | Method and Description |
|---|---|
protected io.netty.buffer.ByteBuf |
allocateBuffer(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
boolean preferDirect) |
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableCopyright © 2024 lettuce.io. All rights reserved.