|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthFuture
An SshFuture for asynchronous authentication requests.
| Method Summary | |
|---|---|
void |
cancel()
Cancels the authentication attempt and notifies all threads waiting for this future. |
java.lang.Throwable |
getException()
Returns the cause of the connection failure. |
boolean |
isCanceled()
Returns true if the connect operation has been canceled by
cancel() method. |
boolean |
isFailure()
Returns false if the authentication operation failed. |
boolean |
isSuccess()
Returns true if the authentication operation is finished successfully. |
void |
setAuthed(boolean authed)
Notifies that the session has been authenticated. |
void |
setException(java.lang.Throwable exception)
Sets the exception caught due to connection failure and notifies all threads waiting for this future. |
| Methods inherited from interface org.apache.sshd.common.future.SshFuture |
|---|
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListener |
| Method Detail |
|---|
java.lang.Throwable getException()
boolean isSuccess()
boolean isFailure()
boolean isCanceled()
true if the connect operation has been canceled by
cancel() method.
void setAuthed(boolean authed)
void setException(java.lang.Throwable exception)
void cancel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||