public interface MessageComponent
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name of this component of the message.
|
void |
read(java.io.InputStream in)
Read this component from a stream.
|
void |
write(java.io.OutputStream out)
Write this component to a stream.
|
java.lang.String getName()
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.