@ChannelHandler.Sharable @ThreadSafe public final class RPCMessageEncoder extends io.netty.handler.codec.MessageToMessageEncoder<RPCMessage>
Constructor and Description |
---|
RPCMessageEncoder()
Constructs a new
RPCMessageEncoder . |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
RPCMessage in,
List<Object> out) |
acceptOutboundMessage, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
public RPCMessageEncoder()
RPCMessageEncoder
.protected void encode(io.netty.channel.ChannelHandlerContext ctx, RPCMessage in, List<Object> out) throws Exception
encode
in class io.netty.handler.codec.MessageToMessageEncoder<RPCMessage>
Exception
Copyright © 2023. All Rights Reserved.