public interface NegativityMessage
Modifier and Type | Method and Description |
---|---|
byte |
messageId()
Get the negativity message ID
|
void |
readFrom(DataInputStream input)
Read the message from the input stream
|
void |
writeTo(DataOutputStream output)
Write the message from the input stream
|
byte messageId()
void readFrom(DataInputStream input) throws IOException
input
- the input stream which contains the negativity messageIOException
- if there is an exceptionvoid writeTo(DataOutputStream output) throws IOException
output
- the output stream which contains the negativity messageIOException
- if there is an exception