Class NettyIoConnector

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.nio.channels.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

      Fields 
      Modifier and Type Field Description
      private static io.netty.handler.logging.LoggingHandler LOGGING_TRACE  
      • Fields inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable

        closeFuture, futureLock, state
      • Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

        log
      • Fields inherited from interface org.apache.sshd.common.io.IoService

        DEFAULT_REUSE_ADDRESS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.sshd.common.io.IoConnectFuture connect​(java.net.SocketAddress address, org.apache.sshd.common.AttributeRepository context, java.net.SocketAddress localAddress)  
      • Methods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable

        addCloseFutureListener, builder, close, doCloseGracefully, doCloseImmediately, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListener
      • 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, toString, wait, wait, wait
      • Methods inherited from interface org.apache.sshd.common.Closeable

        addCloseFutureListener, close, close, isClosed, isClosing, isOpen, removeCloseFutureListener
      • Methods inherited from interface org.apache.sshd.common.io.IoService

        getManagedSessions
      • Methods inherited from interface org.apache.sshd.common.io.IoServiceEventListenerManager

        getIoServiceEventListener, setIoServiceEventListener
    • Field Detail

      • LOGGING_TRACE

        private static final io.netty.handler.logging.LoggingHandler LOGGING_TRACE
    • Constructor Detail

      • NettyIoConnector

        public NettyIoConnector​(NettyIoServiceFactory factory,
                                org.apache.sshd.common.io.IoHandler handler)
    • Method Detail

      • connect

        public org.apache.sshd.common.io.IoConnectFuture connect​(java.net.SocketAddress address,
                                                                 org.apache.sshd.common.AttributeRepository context,
                                                                 java.net.SocketAddress localAddress)
        Specified by:
        connect in interface org.apache.sshd.common.io.IoConnector