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