Package org.eclipse.ecf.provider.comm
Interface ISynchConnection
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable,IConnection
- All Known Subinterfaces:
ISynchAsynchConnection
Synchronous connection
-
Method Summary
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ecf.provider.comm.IConnection
addListener, connect, disconnect, getLocalID, getProperties, isConnected, isStarted, removeListener, start, stop
-
Method Details
-
sendSynch
Send data synchronously, blocking until a result is received- Parameters:
receiver- the receiver to receive the synchronous requestdata- the data to send- Returns:
- the data received. The return type will be specific to the provider implementation.
- Throws:
IOException- thrown if sending cannot occur (e.g. not connected)
-