@ChannelHandler.Sharable public class CommandEncoder extends io.netty.handler.codec.MessageToByteEncoder<CommandData<?,?>>
Modifier and Type | Field and Description |
---|---|
static CommandEncoder |
INSTANCE |
Constructor and Description |
---|
CommandEncoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
CommandData<?,?> msg,
io.netty.buffer.ByteBuf out) |
static byte[] |
toChars(long i) |
acceptOutboundMessage, allocateBuffer, write
bind, close, connect, deregister, disconnect, flush, read
exceptionCaught, handlerAdded, handlerRemoved, isSharable
public static final CommandEncoder INSTANCE
protected void encode(io.netty.channel.ChannelHandlerContext ctx, CommandData<?,?> msg, io.netty.buffer.ByteBuf out) throws Exception
encode
in class io.netty.handler.codec.MessageToByteEncoder<CommandData<?,?>>
Exception
public static byte[] toChars(long i)
Copyright © 2014–2016. All rights reserved.