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