public interface MessageWriteTarget
Modifier and Type | Method and Description |
---|---|
void |
closeConnection()
Closes the connection to the server, triggering the
StreamConnection.connectionClosed()
event on the network-handling thread where all callbacks occur. |
void |
writeBytes(byte[] message)
Writes the given bytes to the remote server.
|
void writeBytes(byte[] message) throws java.io.IOException
java.io.IOException
void closeConnection()
StreamConnection.connectionClosed()
event on the network-handling thread where all callbacks occur.