|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Message managment interface to encode/decode messages on
CodecInputOutput
.
Field Summary | |
static String |
ITF_NAME
The commonly used name of refer to this interface. |
Method Summary | |
Message |
decode(CodecInputOutput cio)
Deserializes a message from the given stream. |
void |
encode(CodecInputOutput cio,
Message message)
Encodes the given message on the given stream. |
Field Detail |
public static final String ITF_NAME
Method Detail |
public void encode(CodecInputOutput cio, Message message) throws IOException
cio
- contains the input on which the message is encoded.message
- a message to serialize.
IOException
- if an error occurs during the serialization.public Message decode(CodecInputOutput cio) throws IOException
cio
- contains the output on which the message is decoded.
IOException
- if an error occurs during the deserialization.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |