com.alipay.remoting.rpc.protocol
Class RpcCommandDecoder

java.lang.Object
  extended by com.alipay.remoting.rpc.protocol.RpcCommandDecoder
All Implemented Interfaces:
CommandDecoder

public class RpcCommandDecoder
extends Object
implements CommandDecoder

Command decoder for Rpc.


Constructor Summary
RpcCommandDecoder()
           
 
Method Summary
 void decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in, List<Object> out)
          Decode bytes into object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcCommandDecoder

public RpcCommandDecoder()
Method Detail

decode

public void decode(io.netty.channel.ChannelHandlerContext ctx,
                   io.netty.buffer.ByteBuf in,
                   List<Object> out)
            throws Exception
Description copied from interface: CommandDecoder
Decode bytes into object.

Specified by:
decode in interface CommandDecoder
Throws:
Exception
See Also:
CommandDecoder.decode(io.netty.channel.ChannelHandlerContext, io.netty.buffer.ByteBuf, java.util.List)


Copyright © 2018. All rights reserved.