public class NettyEncoder extends io.netty.handler.codec.MessageToByteEncoder<RemotingCommand>
| 构造器和说明 |
|---|
NettyEncoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
encode(io.netty.channel.ChannelHandlerContext ctx,
RemotingCommand remotingCommand,
io.netty.buffer.ByteBuf out) |
bind, close, connect, deregister, disconnect, flush, readexceptionCaught, handlerAdded, handlerRemoved, isSharablepublic void encode(io.netty.channel.ChannelHandlerContext ctx,
RemotingCommand remotingCommand,
io.netty.buffer.ByteBuf out)
throws Exception
encode 在类中 io.netty.handler.codec.MessageToByteEncoder<RemotingCommand>ExceptionCopyright © 2012–2016. All rights reserved.