Package org.apache.sshd.common.io.nio2
Class Nio2Connector.DefaultIoConnectFuture
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.common.future.AbstractSshFuture<T>
-
- org.apache.sshd.common.future.DefaultSshFuture<IoConnectFuture>
-
- org.apache.sshd.common.io.nio2.Nio2Connector.DefaultIoConnectFuture
-
- All Implemented Interfaces:
SshFuture<IoConnectFuture>
,WaitableFuture
,IoConnectFuture
- Enclosing class:
- Nio2Connector
public static class Nio2Connector.DefaultIoConnectFuture extends DefaultSshFuture<IoConnectFuture> implements IoConnectFuture
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.common.future.AbstractSshFuture
CANCELED
-
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
-
Constructor Summary
Constructors Constructor Description DefaultIoConnectFuture(Object id, Object lock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getException()
IoSession
getSession()
boolean
isConnected()
void
setException(Throwable exception)
void
setSession(IoSession session)
-
Methods inherited from class org.apache.sshd.common.future.DefaultSshFuture
addListener, await0, cancel, getNumRegisteredListeners, getValue, isCanceled, isDone, notifyListeners, removeListener, setValue, toString
-
Methods inherited from class org.apache.sshd.common.future.AbstractSshFuture
asListener, asT, await, awaitUninterruptibly, formatExceptionMessage, getId, notifyListener, verifyResult
-
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.common.io.IoConnectFuture
cancel, isCanceled
-
Methods inherited from interface org.apache.sshd.common.future.SshFuture
addListener, removeListener
-
Methods inherited from interface org.apache.sshd.common.future.WaitableFuture
await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
-
-
-
-
Method Detail
-
getSession
public IoSession getSession()
- Specified by:
getSession
in interfaceIoConnectFuture
-
getException
public Throwable getException()
- Specified by:
getException
in interfaceIoConnectFuture
-
isConnected
public boolean isConnected()
- Specified by:
isConnected
in interfaceIoConnectFuture
-
setSession
public void setSession(IoSession session)
- Specified by:
setSession
in interfaceIoConnectFuture
-
setException
public void setException(Throwable exception)
- Specified by:
setException
in interfaceIoConnectFuture
-
-