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