public interface IoReadFuture extends SshFuture<IoReadFuture>, VerifiableFuture<IoReadFuture>
| Modifier and Type | Method and Description |
|---|---|
Buffer |
getBuffer() |
Throwable |
getException()
Returns the cause of the read failure.
|
int |
getRead() |
addListener, removeListenerawait, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDoneverify, verify, verifyBuffer getBuffer()
int getRead()
Throwable getException()
null if the read operation is not finished yet,
or if the read attempt is successful (use WaitableFuture.isDone() to
distinguish between the two).Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.