public class RpcCommandEncoder extends Object implements CommandEncoder
| Constructor and Description |
|---|
RpcCommandEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(io.netty.channel.ChannelHandlerContext ctx,
Serializable msg,
io.netty.buffer.ByteBuf out)
Encode object into bytes.
|
public void encode(io.netty.channel.ChannelHandlerContext ctx,
Serializable msg,
io.netty.buffer.ByteBuf out)
throws Exception
CommandEncoderencode in interface CommandEncoderExceptionCommandEncoder.encode(io.netty.channel.ChannelHandlerContext, java.io.Serializable, io.netty.buffer.ByteBuf)Copyright © 2024. All rights reserved.