com.alibaba.dubbo.rpc.protocol.dubbo
Class DubboCountCodec

java.lang.Object
  extended by com.alibaba.dubbo.rpc.protocol.dubbo.DubboCountCodec
All Implemented Interfaces:
Codec2

public final class DubboCountCodec
extends Object
implements Codec2

Author:
kimi

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.alibaba.dubbo.remoting.Codec2
Codec2.DecodeResult
 
Constructor Summary
DubboCountCodec()
           
 
Method Summary
 Object decode(Channel channel, ChannelBuffer buffer)
           
 void encode(Channel channel, ChannelBuffer buffer, Object msg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DubboCountCodec

public DubboCountCodec()
Method Detail

encode

public void encode(Channel channel,
                   ChannelBuffer buffer,
                   Object msg)
            throws IOException
Specified by:
encode in interface Codec2
Throws:
IOException

decode

public Object decode(Channel channel,
                     ChannelBuffer buffer)
              throws IOException
Specified by:
decode in interface Codec2
Throws:
IOException


Copyright © 2012–2017 Alibaba. All rights reserved.