|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sshd.common.future.DefaultSshFuture<OpenFuture>
org.apache.sshd.client.future.DefaultOpenFuture
public class DefaultOpenFuture
A default implementation of OpenFuture.
| Constructor Summary | |
|---|---|
DefaultOpenFuture(java.lang.Object lock)
|
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getException()
Returns the cause of the connection failure. |
boolean |
isOpened()
Returns true if the connect operation is finished successfully. |
void |
setException(java.lang.Throwable exception)
Sets the exception caught due to connection failure and notifies all threads waiting for this future. |
void |
setOpened()
Sets the newly connected session and notifies all threads waiting for this future. |
| Methods inherited from class org.apache.sshd.common.future.DefaultSshFuture |
|---|
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getValue, isCanceled, isDone, removeListener, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.sshd.client.future.OpenFuture |
|---|
cancel, isCanceled |
| Methods inherited from interface org.apache.sshd.common.future.SshFuture |
|---|
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListener |
| Constructor Detail |
|---|
public DefaultOpenFuture(java.lang.Object lock)
| Method Detail |
|---|
public java.lang.Throwable getException()
OpenFuture
getException in interface OpenFuturepublic boolean isOpened()
OpenFuture
isOpened in interface OpenFuturepublic void setOpened()
OpenFuture
setOpened in interface OpenFuturepublic void setException(java.lang.Throwable exception)
OpenFuture
setException in interface OpenFuture
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||