Package org.apache.dubbo.remoting.api.pu
Class DefaultCodec
java.lang.Object
org.apache.dubbo.remoting.api.pu.DefaultCodec
- All Implemented Interfaces:
Codec2
-
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 message)
-
Constructor Details
-
DefaultCodec
public DefaultCodec()
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceCodec2
- Throws:
IOException
-
decode
- Specified by:
decode
in interfaceCodec2
- Throws:
IOException
-