Class NettyIoConnector
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.closeable.IoBaseCloseable
org.apache.sshd.common.util.closeable.AbstractCloseable
org.apache.sshd.netty.NettyIoService
org.apache.sshd.netty.NettyIoConnector
- All Implemented Interfaces:
Closeable, AutoCloseable, Channel, org.apache.sshd.common.Closeable, org.apache.sshd.common.io.IoConnector, org.apache.sshd.common.io.IoService, org.apache.sshd.common.io.IoServiceEventListenerManager
public class NettyIoConnector
extends NettyIoService
implements org.apache.sshd.common.io.IoConnector
The Netty based IoConnector implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
org.apache.sshd.common.util.closeable.AbstractCloseable.State -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final io.netty.handler.logging.LoggingHandlerFields inherited from class NettyIoService
channelGroup, CONNECT_FUTURE_KEY, factory, handler, sessions, sessionSeqFields inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
closeFuture, futureLock, stateFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
logFields inherited from interface org.apache.sshd.common.io.IoService
DEFAULT_REUSE_ADDRESS -
Constructor Summary
ConstructorsConstructorDescriptionNettyIoConnector(NettyIoServiceFactory factory, org.apache.sshd.common.io.IoHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sshd.common.io.IoConnectFutureconnect(SocketAddress address, org.apache.sshd.common.AttributeRepository context, SocketAddress localAddress) Methods inherited from class NettyIoService
doCloseImmediately, getIoServiceEventListener, getManagedSessions, mapSession, registerChannel, setIoServiceEventListenerMethods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
addCloseFutureListener, builder, close, doCloseGracefully, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListenerMethods 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, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.sshd.common.Closeable
addCloseFutureListener, close, close, isClosed, isClosing, isOpen, removeCloseFutureListenerMethods inherited from interface org.apache.sshd.common.io.IoService
getManagedSessionsMethods inherited from interface org.apache.sshd.common.io.IoServiceEventListenerManager
getIoServiceEventListener, setIoServiceEventListener
-
Field Details
-
LOGGING_TRACE
private static final io.netty.handler.logging.LoggingHandler LOGGING_TRACE
-
-
Constructor Details
-
NettyIoConnector
-
-
Method Details
-
connect
public org.apache.sshd.common.io.IoConnectFuture connect(SocketAddress address, org.apache.sshd.common.AttributeRepository context, SocketAddress localAddress) - Specified by:
connectin interfaceorg.apache.sshd.common.io.IoConnector
-