public static class ChannelAsyncInputStream.IoReadFutureImpl extends DefaultSshFuture<IoReadFuture> implements IoReadFuture
log| Constructor and Description |
|---|
IoReadFutureImpl(Buffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
getBuffer() |
Throwable |
getException() |
int |
getRead() |
void |
verify()
Wait and verify that the read succeeded.
|
void |
verify(long timeoutMillis) |
void |
verify(long timeout,
TimeUnit unit) |
addListener, await, await, await, await0, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getValue, isCanceled, isDone, removeListener, setValue, verifyResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListenerpublic IoReadFutureImpl(Buffer buffer)
public Buffer getBuffer()
getBuffer in interface IoReadFuturepublic void verify()
throws IOException
IoReadFutureverify in interface IoReadFutureIOException - if the action failed for any reasonpublic void verify(long timeout,
TimeUnit unit)
throws IOException
verify in interface IoReadFutureIOExceptionpublic void verify(long timeoutMillis)
throws IOException
verify in interface IoReadFutureIOExceptionpublic int getRead()
getRead in interface IoReadFuturepublic Throwable getException()
getException in interface IoReadFutureCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.