public interface ISynchConnection extends IConnection
Modifier and Type | Method and Description |
---|---|
Object |
sendSynch(ID receiver,
byte[] data)
Send data synchronously, blocking until a result is received
|
addListener, connect, disconnect, getLocalID, getProperties, isConnected, isStarted, removeListener, start, stop
Object sendSynch(ID receiver, byte[] data) throws IOException
receiver
- the receiver to receive the synchronous requestdata
- the data to sendIOException
- thrown if sending cannot occur (e.g. not connected)Copyright © 2017. All rights reserved.