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