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, removeListener
await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
verify, verify, verify, verify
Buffer 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 © 2018–2021 The Apache Software Foundation. All rights reserved.