|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An ITunnelCodec is responsible for transforming messages to and from bytes that can be handled by streams.
| Method Summary | |
java.lang.Object |
decode(java.io.InputStream in)
Reads bytes from the InputStream and transforms them into a message that is returned. |
void |
encode(java.lang.Object message,
java.io.OutputStream out)
Transforms a message into bytes and writes them to the OutputStream. |
| Method Detail |
public void encode(java.lang.Object message,
java.io.OutputStream out)
throws java.io.IOException
java.io.IOException
public java.lang.Object decode(java.io.InputStream in)
throws java.io.IOException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||