public static class ChannelAsyncInputStream.IoReadFutureImpl extends DefaultSshFuture<IoReadFuture> implements IoReadFuture
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.
|
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getValue, isCanceled, isDone, removeListener, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListener
public IoReadFutureImpl(Buffer buffer)
public Buffer getBuffer()
getBuffer
in interface IoReadFuture
public void verify() throws SshException
IoReadFuture
verify
in interface IoReadFuture
SshException
- if the write failed for any reasonpublic int getRead()
getRead
in interface IoReadFuture
public Throwable getException()
getException
in interface IoReadFuture
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.