ConnectFuture.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ClientSession | |
| public boolean | |
| public void | setSession(ClientSession
The session)ClientSessionImplements org. Sets the newly connected session and notifies all threads waiting for this future. |
| public ConnectFuture | verify(long
Wait timeout in milliseconds timeout, 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
If no |
| DefaultConnectFuture | back to summary |
|---|---|
| public DefaultConnectFuture(Object id, Object lock) | |
| getSession | back to summary |
|---|---|
| public ClientSession getSession() Implements org.
| |
| isConnected | back to summary |
|---|---|
| public boolean isConnected() Implements org.
| |
| setSession | back to summary |
|---|---|
| public void setSession(ClientSession session) 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 ConnectFuture verify(long timeout, CancelOption... options) throws IOException Implements org. Doc from org. Wait and verify that the operation was successful
If no
| |