public interface IInputConnection extends IConnection
Modifier and Type | Method and Description |
---|---|
ISubscriptionIntermediateFuture<byte[]> |
aread()
Asynchronous read.
|
int |
available()
Get the number of available bytes.
|
int |
read()
Non-blocking read.
|
int |
read(byte[] buffer)
Non-blocking read.
|
ISubscriptionIntermediateFuture<java.lang.Long> |
writeToOutputStream(java.io.OutputStream os,
IExternalAccess component)
Write all data from the connection to the output stream.
|
close, getConnectionId, getInitiator, getNonFunctionalProperties, getParticipant
int read()
int read(byte[] buffer)
buffer
- The buffer to read in.ISubscriptionIntermediateFuture<byte[]> aread()
int available()
ISubscriptionIntermediateFuture<java.lang.Long> writeToOutputStream(java.io.OutputStream os, IExternalAccess component)
is
- The input stream.component
- The component.