public interface IOutputConnection extends IConnection
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Flush the data.
|
jadex.commons.future.IFuture<java.lang.Integer> |
waitForReady()
Wait until the connection is ready for the next write.
|
jadex.commons.future.IFuture<java.lang.Void> |
write(byte[] data)
Write the content to the stream.
|
jadex.commons.future.ISubscriptionIntermediateFuture<java.lang.Long> |
writeFromInputStream(java.io.InputStream is,
IExternalAccess component)
Write all data from input stream to the connection.
|
close, getConnectionId, getInitiator, getNonFunctionalProperties, getParticipantjadex.commons.future.IFuture<java.lang.Void> write(byte[] data)
data - The data.void flush()
jadex.commons.future.IFuture<java.lang.Integer> waitForReady()
jadex.commons.future.ISubscriptionIntermediateFuture<java.lang.Long> writeFromInputStream(java.io.InputStream is,
IExternalAccess component)
is - The input stream.