Package jadex.bridge.component.streams
Interface IOutputConnectionHandler
-
- All Superinterfaces:
IAbstractConnectionHandler
- All Known Implementing Classes:
LocalOutputConnectionHandler
,OutputConnectionHandler
public interface IOutputConnectionHandler extends IAbstractConnectionHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
flush()
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.IAbstractConnectionHandler
doClose, getNonFunctionalProperties, notifyInited, sendInit, setConnection
-
-
-
-
Method Detail
-
send
IFuture<java.lang.Void> send(byte[] dat)
Called from connection.
-
waitForReady
IFuture<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.
-
flush
void flush()
Flush the data.
-
-