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<Long> |
writeToOutputStream(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<Long> writeToOutputStream(OutputStream os, IExternalAccess component)
is
- The input stream.component
- The component.Copyright © 2012. All Rights Reserved.