Class StandardNettyIoServiceFactory

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.NettyIoServiceFactory
org.apache.nifi.processors.standard.ssh.netty.StandardNettyIoServiceFactory
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, org.apache.sshd.common.Closeable, org.apache.sshd.common.io.IoServiceEventListenerManager, org.apache.sshd.common.io.IoServiceFactory

class StandardNettyIoServiceFactory extends org.apache.sshd.netty.NettyIoServiceFactory
Standard implementation supporting Proxy Configuration for IO Connector
  • 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 final ProxyConfiguration
     
    private final Duration
     

    Fields inherited from class org.apache.sshd.netty.NettyIoServiceFactory

    closeEventLoopGroup, eventLoopGroup, manager

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
    StandardNettyIoServiceFactory(org.apache.sshd.common.FactoryManager manager, io.netty.channel.EventLoopGroup eventLoopGroup, ProxyConfiguration proxyConfiguration, Duration socketTimeout)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.sshd.common.io.IoConnector
    createConnector(org.apache.sshd.common.io.IoHandler ioHandler)
     
    protected org.apache.sshd.common.future.CloseFuture
    Close configured Netty Event Loop Group

    Methods inherited from class org.apache.sshd.netty.NettyIoServiceFactory

    createAcceptor, doCloseImmediately, getIoServiceEventListener, setIoServiceEventListener

    Methods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable

    addCloseFutureListener, builder, close, 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
  • Field Details

  • Constructor Details

    • StandardNettyIoServiceFactory

      StandardNettyIoServiceFactory(org.apache.sshd.common.FactoryManager manager, io.netty.channel.EventLoopGroup eventLoopGroup, ProxyConfiguration proxyConfiguration, Duration socketTimeout)
  • Method Details

    • createConnector

      public org.apache.sshd.common.io.IoConnector createConnector(org.apache.sshd.common.io.IoHandler ioHandler)
      Specified by:
      createConnector in interface org.apache.sshd.common.io.IoServiceFactory
      Overrides:
      createConnector in class org.apache.sshd.netty.NettyIoServiceFactory
    • doCloseGracefully

      protected org.apache.sshd.common.future.CloseFuture doCloseGracefully()
      Close configured Netty Event Loop Group
      Overrides:
      doCloseGracefully in class org.apache.sshd.netty.NettyIoServiceFactory
      Returns:
      Close Future with configured listeners