OpenFuture.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | setOpened()
Implements org. Sets the newly connected session and notifies all threads waiting for this future. |
| public OpenFuture | verify(long
Wait timeout in milliseconds timeoutMillis, CancelOption... Optional options)CancelOptions defining the behavior on time-out or interrupt; ignored if
the future is not Cancellable.Implements org. Wait and verify that the operation was successful |
| DefaultOpenFuture | back to summary |
|---|---|
| public DefaultOpenFuture(Object id, Object lock) | |
| isOpened | back to summary |
|---|---|
| public boolean isOpened() Implements org.
| |
| setOpened | back to summary |
|---|---|
| public void setOpened() Implements org. Doc from org. Sets the newly connected session and notifies all threads waiting for this future. This method is invoked by SSHD internally. Please do not call this method directly.
| |
| verify | back to summary |
|---|---|
| public OpenFuture verify(long timeoutMillis, CancelOption... options) throws IOException Implements org. Doc from org. Wait and verify that the operation was successful
| |