Package org.apache.sshd.mina
Class MinaServiceFactory
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.mina.MinaServiceFactory
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,Closeable,FactoryManagerHolder,IoServiceEventListenerManager,IoServiceFactory,org.apache.sshd.common.util.threads.ExecutorServiceCarrier
A factory for creating Apache MINA I/O service (
MinaAcceptor and MinaConnector) instances.- Author:
- Apache MINA SSHD Project
-
Nested Class Summary
Nested ClassesNested 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, stateFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log -
Constructor Summary
ConstructorsConstructorDescriptionMinaServiceFactory(FactoryManager factoryManager, org.apache.sshd.common.util.threads.CloseableExecutorService service) -
Method Summary
Modifier and TypeMethodDescriptioncreateAcceptor(IoHandler handler) createConnector(IoHandler handler) protected voidMethods inherited from class org.apache.sshd.common.io.AbstractIoServiceFactory
autowireCreatedService, getExecutorService, getFactoryManager, getIoServiceEventListener, getNioWorkers, 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 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
-
Constructor Details
-
MinaServiceFactory
public MinaServiceFactory(FactoryManager factoryManager, org.apache.sshd.common.util.threads.CloseableExecutorService service)
-
-
Method Details
-
createConnector
-
createAcceptor
-
doCloseImmediately
protected void doCloseImmediately()- Overrides:
doCloseImmediatelyin classAbstractIoServiceFactory
-