com.alipay.remoting.rpc.protocol
Class RpcCommandEncoder
java.lang.Object
com.alipay.remoting.rpc.protocol.RpcCommandEncoder
- All Implemented Interfaces:
- CommandEncoder
public class RpcCommandEncoder
- extends Object
- implements CommandEncoder
Encode remoting command into ByteBuf.
|
Method Summary |
void |
encode(io.netty.channel.ChannelHandlerContext ctx,
Serializable msg,
io.netty.buffer.ByteBuf out)
Encode object into bytes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpcCommandEncoder
public RpcCommandEncoder()
encode
public void encode(io.netty.channel.ChannelHandlerContext ctx,
Serializable msg,
io.netty.buffer.ByteBuf out)
throws Exception
- Description copied from interface:
CommandEncoder
- Encode object into bytes.
- Specified by:
encode in interface CommandEncoder
- Throws:
Exception- See Also:
CommandEncoder.encode(io.netty.channel.ChannelHandlerContext, java.io.Serializable, io.netty.buffer.ByteBuf)
Copyright © 2018. All rights reserved.