com.alipay.remoting
Interface CommandEncoder

All Known Implementing Classes:
RpcCommandEncoder, RpcCommandEncoderV2

public interface CommandEncoder

Encode command.


Method Summary
 void encode(io.netty.channel.ChannelHandlerContext ctx, Serializable msg, io.netty.buffer.ByteBuf out)
          Encode object into bytes.
 

Method Detail

encode

void encode(io.netty.channel.ChannelHandlerContext ctx,
            Serializable msg,
            io.netty.buffer.ByteBuf out)
            throws Exception
Encode object into bytes.

Parameters:
ctx -
msg -
out -
Throws:
Exception


Copyright © 2018. All rights reserved.