public interface MessageWriteTarget
Modifier and Type | Method and Description |
---|---|
void |
closeConnection()
Closes the connection to the server, triggering the
StreamParser.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()
StreamParser.connectionClosed()
event on the network-handling thread where all callbacks occur.Copyright © 2014. All rights reserved.