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 IOException
IOException
void closeConnection()
StreamConnection.connectionClosed()
event on the network-handling thread where all callbacks occur.Copyright © 2016. All rights reserved.