public interface IInputConnection extends IConnection
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.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.
|
jadex.commons.future.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.jadex.commons.future.ISubscriptionIntermediateFuture<byte[]> aread()
int available()
jadex.commons.future.ISubscriptionIntermediateFuture<java.lang.Long> writeToOutputStream(java.io.OutputStream os, IExternalAccess component)
is
- The input stream.component
- The component.