AuthFuture.
| Modifier and Type | Field and Description |
|---|---|
| private AtomicBoolean | |
| private final CancelFuture |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CancelFuture | Returns: ACancelFuture that can be used to wait until the cancellation has been effected or the
AuthFuture has been fulfilled; never null.Overrides org. Implements org. Attempts to cancel the operation. |
| public CancelFuture | getCancellation()
Overrides org. Implements org. Retrieves the |
| public boolean | |
| public boolean | |
| public void | setAuthed(boolean
Authentication success state authed)Implements org. Notifies that the session has been authenticated. |
| public void | setCancellable(boolean
whether this future is currently cancellable cancellable)Implements org. Enables or disables cancellation of this |
| public AuthFuture | 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 |
| public boolean | wasCanceled()
Implements org. Tells whether |
| cancellable | back to summary |
|---|---|
| private AtomicBoolean cancellable | |
| cancellation | back to summary |
|---|---|
| private final CancelFuture cancellation | |
| DefaultAuthFuture | back to summary |
|---|---|
| public DefaultAuthFuture(Object id, Object lock) | |
| cancel | back to summary |
|---|---|
| public CancelFuture cancel() Overrides org. Implements org. Doc from org. Attempts to cancel the operation.
Note that returned
| |
| getCancellation | back to summary |
|---|---|
| public CancelFuture getCancellation() Overrides org. Implements org. Doc from org. Retrieves the
| |
| isFailure | back to summary |
|---|---|
| public boolean isFailure() Implements org.
| |
| isSuccess | back to summary |
|---|---|
| public boolean isSuccess() Implements org.
| |
| setAuthed | back to summary |
|---|---|
| public void setAuthed(boolean authed) Implements org. Doc from org. Notifies that the session has been authenticated. This method is invoked by SSHD internally. Please do not call this method directly.
| |
| setCancellable | back to summary |
|---|---|
| public void setCancellable(boolean cancellable) Implements org. Doc from org. Enables or disables cancellation of this This is a framework method; do not call directly.
| |
| verify | back to summary |
|---|---|
| public AuthFuture verify(long timeoutMillis, CancelOption... options) throws IOException Implements org. Doc from org. Wait and verify that the operation was successful
| |
| wasCanceled | back to summary |
|---|---|
| public boolean wasCanceled() Implements org. Doc from org. Tells whether
This is different from | |