Package jadex.bridge.component.streams
Interface IOutputConnectionHandler
- 
- All Superinterfaces:
- IAbstractConnectionHandler
 - All Known Implementing Classes:
- LocalOutputConnectionHandler,- OutputConnectionHandler
 
 public interface IOutputConnectionHandler extends IAbstractConnectionHandler 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflush()Flush the data.IFuture<java.lang.Void>send(byte[] dat)Called from connection.IFuture<java.lang.Integer>waitForReady()Wait until the connection is ready for the next write.- 
Methods inherited from interface jadex.bridge.component.streams.IAbstractConnectionHandlerdoClose, getNonFunctionalProperties, notifyInited, sendInit, setConnection
 
- 
 
- 
- 
- 
Method Detail- 
sendIFuture<java.lang.Void> send(byte[] dat) Called from connection.
 - 
waitForReadyIFuture<java.lang.Integer> waitForReady() Wait until the connection is ready for the next write.- Returns:
- Calls future when next data can be written. Provides a value of how much data should be given to the connection for best performance.
 
 - 
flushvoid flush() Flush the data.
 
- 
 
-