com.alibaba.dubbo.rpc.protocol.thrift
Class ThriftNativeCodec
java.lang.Object
com.alibaba.dubbo.rpc.protocol.thrift.ThriftNativeCodec
- All Implemented Interfaces:
- Codec2
public class ThriftNativeCodec
- extends Object
- implements Codec2
- Author:
- kimi
ThriftNativeCodec
public ThriftNativeCodec()
encode
public void encode(Channel channel,
ChannelBuffer buffer,
Object message)
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.