Package org.apache.sshd.common.io
Interface IoReadFuture
-
- All Superinterfaces:
SshFuture<IoReadFuture>,VerifiableFuture<IoReadFuture>,WaitableFuture
public interface IoReadFuture extends SshFuture<IoReadFuture>, VerifiableFuture<IoReadFuture>
- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BuffergetBuffer()ThrowablegetException()Returns the cause of the read failure.intgetRead()-
Methods inherited from interface org.apache.sshd.common.future.SshFuture
addListener, removeListener
-
Methods inherited from interface org.apache.sshd.common.future.VerifiableFuture
verify, verify, verify, verify
-
Methods inherited from interface org.apache.sshd.common.future.WaitableFuture
await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
-
-
-
-
Method Detail
-
getBuffer
Buffer getBuffer()
-
getRead
int getRead()
-
getException
Throwable getException()
Returns the cause of the read failure.- Returns:
nullif the read operation is not finished yet, or if the read attempt is successful (useWaitableFuture.isDone()to distinguish between the two).
-
-