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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(Channel channel, ChannelBuffer buffer) voidencode(Channel channel, ChannelBuffer buffer, Object message)
-
Constructor Details
-
DefaultCodec
public DefaultCodec()
-
-
Method Details
-
encode
- Specified by:
encodein interfaceCodec2- Throws:
IOException
-
decode
- Specified by:
decodein interfaceCodec2- Throws:
IOException
-