public interface ISynchConnection extends IConnection
Modifier and Type | Method and Description |
---|---|
java.lang.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
java.lang.Object sendSynch(ID receiver, byte[] data) throws java.io.IOException
receiver
- the receiver to receive the synchronous requestdata
- the data to sendjava.io.IOException
- thrown if sending cannot occur (e.g. not connected)