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
FieldsFields inherited from class org.apache.sshd.netty.NettyIoServiceFactory
closeEventLoopGroup, eventLoopGroup, managerFields inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
closeFuture, futureLock, stateFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log -
Constructor Summary
ConstructorsConstructorDescriptionStandardNettyIoServiceFactory(org.apache.sshd.common.FactoryManager manager, io.netty.channel.EventLoopGroup eventLoopGroup, ProxyConfiguration proxyConfiguration, Duration socketTimeout) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sshd.common.io.IoConnectorcreateConnector(org.apache.sshd.common.io.IoHandler ioHandler) protected org.apache.sshd.common.future.CloseFutureClose configured Netty Event Loop GroupMethods inherited from class org.apache.sshd.netty.NettyIoServiceFactory
createAcceptor, doCloseImmediately, getIoServiceEventListener, setIoServiceEventListenerMethods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
addCloseFutureListener, builder, close, 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 java.lang.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, removeCloseFutureListener
-
Field Details
-
proxyConfiguration
-
socketTimeout
-
-
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:
createConnectorin interfaceorg.apache.sshd.common.io.IoServiceFactory- Overrides:
createConnectorin classorg.apache.sshd.netty.NettyIoServiceFactory
-
doCloseGracefully
protected org.apache.sshd.common.future.CloseFuture doCloseGracefully()Close configured Netty Event Loop Group- Overrides:
doCloseGracefullyin classorg.apache.sshd.netty.NettyIoServiceFactory- Returns:
- Close Future with configured listeners
-