Interface IoReadFuture

All Superinterfaces:
SshFuture<IoReadFuture>, VerifiableFuture<IoReadFuture>, WaitableFuture
All Known Implementing Classes:
ChannelAsyncInputStream.IoReadFutureImpl

public interface IoReadFuture extends SshFuture<IoReadFuture>, VerifiableFuture<IoReadFuture>
  • Method Details

    • getBuffer

      Buffer getBuffer()
    • getRead

      int getRead()
    • getException

      Throwable getException()
      Returns the cause of the read failure.
      Returns:
      null if the read operation is not finished yet, or if the read attempt is successful (use WaitableFuture.isDone() to distinguish between the two).