Interface IoWriteFuture

All Superinterfaces:
SshFuture<IoWriteFuture>, VerifiableFuture<IoWriteFuture>, WaitableFuture
All Known Implementing Classes:
AbstractIoWriteFuture, IoWriteFutureImpl, Nio2DefaultIoWriteFuture, PendingWriteFuture, SimpleIoOutputStream.DefaultIoWriteFuture

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

    • isWritten

      boolean isWritten()
      Returns:
      true if the write operation is finished successfully.
    • getException

      Throwable getException()
      Returns:
      the cause of the write failure if and only if the write operation has failed due to an Exception. Otherwise, null is returned (use WaitableFuture.isDone() to distinguish between the two.