类 ExchangeCodec
- java.lang.Object
-
- com.alibaba.dubbo.remoting.transport.AbstractCodec
-
- com.alibaba.dubbo.remoting.transport.codec.TransportCodec
-
- com.alibaba.dubbo.remoting.telnet.codec.TelnetCodec
-
- com.alibaba.dubbo.remoting.exchange.codec.ExchangeCodec
-
- 所有已实现的接口:
Codec2
- 直接已知子类:
DubboCodec
public class ExchangeCodec extends TelnetCodec
ExchangeCodec.
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.alibaba.dubbo.remoting.Codec2
Codec2.DecodeResult
-
-
构造器概要
构造器 构造器 说明 ExchangeCodec()
-
-
-
方法详细资料
-
getMagicCode
public Short getMagicCode()
-
encode
public void encode(Channel channel, ChannelBuffer buffer, Object msg) throws IOException
- 指定者:
encode
在接口中Codec2
- 覆盖:
encode
在类中TelnetCodec
- 抛出:
IOException
-
decode
public Object decode(Channel channel, ChannelBuffer buffer) throws IOException
- 指定者:
decode
在接口中Codec2
- 覆盖:
decode
在类中TelnetCodec
- 抛出:
IOException
-
-