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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(Channel channel, ChannelBuffer buffer) voidencode(Channel channel, ChannelBuffer buffer, Object msg) Methods inherited from class org.apache.dubbo.remoting.transport.AbstractCodec
setFrameworkModelMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.rpc.model.ScopeModelAware
setApplicationModel, setModuleModel, setScopeModel
-
Constructor Details
-
ExchangeCodec
public ExchangeCodec()
-
-
Method Details
-
getMagicCode
-
encode
- Specified by:
encodein interfaceCodec2- Overrides:
encodein classTelnetCodec- Throws:
IOException
-
decode
- Specified by:
decodein interfaceCodec2- Overrides:
decodein classTelnetCodec- Throws:
IOException
-