public interface Message
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getURN()
Get the urn of this message type.
|
void |
read(java.io.InputStream in)
Read the content of this message from a stream.
|
void |
write(java.io.OutputStream out)
Write the content of this message to a stream.
|
java.lang.String getURN()
void write(java.io.OutputStream out) throws java.io.IOException
out
- The stream to write to.java.io.IOException
- If the write fails.void read(java.io.InputStream in) throws java.io.IOException
in
- The stream to read from.java.io.IOException
- If the read fails.