Package org.apache.dubbo.remoting
Interface Codec
Deprecated.
Codec. (SPI, Singleton, ThreadSafe)
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(Channel channel, InputStream input) Deprecated.Decode message.void
encode
(Channel channel, OutputStream output, Object message) Deprecated.Encode message.
-
Field Details
-
NEED_MORE_INPUT
Deprecated.Need more input poison.- See Also:
-
-
Method Details
-
encode
@Adaptive("codec") void encode(Channel channel, OutputStream output, Object message) throws IOException Deprecated.Encode message.- Parameters:
channel
- channel.output
- output stream.message
- message.- Throws:
IOException
-
decode
Deprecated.Decode message.- Parameters:
channel
- channel.input
- input stream.- Returns:
- message or
NEED_MORE_INPUT
poison. - Throws:
IOException
- See Also:
-