|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated @SPI public interface Codec
Codec. (SPI, Singleton, ThreadSafe)
Field Summary | |
---|---|
static Object |
NEED_MORE_INPUT
Deprecated. Need more input poison. |
Method Summary | |
---|---|
Object |
decode(Channel channel,
InputStream input)
Deprecated. Decode message. |
void |
encode(Channel channel,
OutputStream output,
Object message)
Deprecated. Encode message. |
Field Detail |
---|
static final Object NEED_MORE_INPUT
decode(Channel, InputStream)
Method Detail |
---|
@Adaptive(value="codec") void encode(Channel channel, OutputStream output, Object message) throws IOException
channel
- channel.output
- output stream.message
- message.
IOException
@Adaptive(value="codec") Object decode(Channel channel, InputStream input) throws IOException
channel
- channel.input
- input stream.
NEED_MORE_INPUT
poison.
IOException
NEED_MORE_INPUT
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |