Class ExchangeCodec
java.lang.Object
org.apache.dubbo.remoting.transport.AbstractCodec
org.apache.dubbo.remoting.transport.codec.TransportCodec
org.apache.dubbo.remoting.telnet.codec.TelnetCodec
org.apache.dubbo.remoting.exchange.codec.ExchangeCodec
- All Implemented Interfaces:
Codec2
,ScopeModelAware
ExchangeCodec.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.dubbo.remoting.Codec2
Codec2.DecodeResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(Channel channel, ChannelBuffer buffer) void
encode
(Channel channel, ChannelBuffer buffer, Object msg) Methods inherited from class org.apache.dubbo.remoting.transport.AbstractCodec
setFrameworkModel
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.dubbo.rpc.model.ScopeModelAware
setApplicationModel, setModuleModel, setScopeModel
-
Constructor Details
-
ExchangeCodec
public ExchangeCodec()
-
-
Method Details
-
getMagicCode
-
encode
- Specified by:
encode
in interfaceCodec2
- Overrides:
encode
in classTelnetCodec
- Throws:
IOException
-
decode
- Specified by:
decode
in interfaceCodec2
- Overrides:
decode
in classTelnetCodec
- Throws:
IOException
-