Class Nio2ServiceFactory

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.common.io.AbstractIoServiceFactory
org.apache.sshd.common.io.nio2.Nio2ServiceFactory
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, org.apache.sshd.common.Closeable, FactoryManagerHolder, org.apache.sshd.common.io.IoServiceEventListenerManager, org.apache.sshd.common.io.IoServiceFactory, org.apache.sshd.common.util.threads.ExecutorServiceCarrier

public class Nio2ServiceFactory extends AbstractIoServiceFactory
Author:
Apache MINA SSHD Project
  • 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 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
    Nio2ServiceFactory(FactoryManager factoryManager, org.apache.sshd.common.util.threads.CloseableExecutorService service, org.apache.sshd.common.util.threads.CloseableExecutorService resumeTasks)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.sshd.common.io.IoAcceptor
    createAcceptor(org.apache.sshd.common.io.IoHandler handler)
     
    org.apache.sshd.common.io.IoConnector
    createConnector(org.apache.sshd.common.io.IoHandler handler)
     
    createSession(Nio2Service service, org.apache.sshd.common.io.IoHandler handler, AsynchronousSocketChannel socket, SocketAddress address)
     
    protected void
     

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

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

    • Nio2ServiceFactory

      public Nio2ServiceFactory(FactoryManager factoryManager, org.apache.sshd.common.util.threads.CloseableExecutorService service, org.apache.sshd.common.util.threads.CloseableExecutorService resumeTasks)
  • Method Details