@ChannelHandler.Sharable public class ClientEncoder extends io.netty.handler.codec.MessageToByteEncoder<BaseMessage>
| 构造器和说明 |
|---|
ClientEncoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
BaseMessage msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
BaseMessage msg,
io.netty.buffer.ByteBuf out)
throws Exception
encode 在类中 io.netty.handler.codec.MessageToByteEncoder<BaseMessage>ExceptionCopyright © 2019. All rights reserved.