类 ThriftCodec
- java.lang.Object
-
- org.apache.dubbo.rpc.protocol.thrift.ThriftCodec
-
- 所有已实现的接口:
Codec2
@Deprecated public class ThriftCodec extends Object implements Codec2
已过时。- 从以下版本开始:
- 2.7.0, use https://github.com/dubbo/dubbo-rpc-native-thrift instead
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.apache.dubbo.remoting.Codec2
Codec2.DecodeResult
-
-
字段概要
字段 修饰符和类型 字段 说明 static shortMAGIC已过时。static intMESSAGE_HEADER_LENGTH_INDEX已过时。static intMESSAGE_LENGTH_INDEX已过时。static intMESSAGE_SHORTEST_LENGTH已过时。static StringNAME已过时。static StringPARAMETER_CLASS_NAME_GENERATOR已过时。static byteVERSION已过时。
-
构造器概要
构造器 构造器 说明 ThriftCodec()已过时。
-
-
-
字段详细资料
-
MESSAGE_LENGTH_INDEX
public static final int MESSAGE_LENGTH_INDEX
已过时。- 另请参阅:
- 常量字段值
-
MESSAGE_HEADER_LENGTH_INDEX
public static final int MESSAGE_HEADER_LENGTH_INDEX
已过时。- 另请参阅:
- 常量字段值
-
MESSAGE_SHORTEST_LENGTH
public static final int MESSAGE_SHORTEST_LENGTH
已过时。- 另请参阅:
- 常量字段值
-
PARAMETER_CLASS_NAME_GENERATOR
public static final String PARAMETER_CLASS_NAME_GENERATOR
已过时。- 另请参阅:
- 常量字段值
-
VERSION
public static final byte VERSION
已过时。- 另请参阅:
- 常量字段值
-
MAGIC
public static final short MAGIC
已过时。- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
encode
public void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException
已过时。- 指定者:
encode在接口中Codec2- 抛出:
IOException
-
decode
public Object decode(Channel channel, ChannelBuffer buffer) throws IOException
已过时。- 指定者:
decode在接口中Codec2- 抛出:
IOException
-
-