public class NettyEncoder extends io.netty.handler.codec.MessageToByteEncoder<RemotingCommand>
Constructor and Description |
---|
NettyEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
encode(io.netty.channel.ChannelHandlerContext ctx,
RemotingCommand remotingCommand,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, write
bind, close, connect, deregister, disconnect, flush, read
exceptionCaught, handlerAdded, handlerRemoved, isSharable
public void encode(io.netty.channel.ChannelHandlerContext ctx, RemotingCommand remotingCommand, io.netty.buffer.ByteBuf out) throws Exception
encode
in class io.netty.handler.codec.MessageToByteEncoder<RemotingCommand>
Exception
Copyright © 2014. All Rights Reserved.