Class NettyAcceptorFactory
java.lang.Object
org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory
- All Implemented Interfaces:
AcceptorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAcceptor(String name, ClusterConnection connection, Map<String, Object> configuration, BufferHandler handler, ServerConnectionLifeCycleListener listener, Executor threadPool, ScheduledExecutorService scheduledThreadPool, Map<String, ProtocolManager> protocolMap) Create a new instance of an Acceptor.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.spi.core.remoting.AcceptorFactory
supportsRemote
-
Constructor Details
-
NettyAcceptorFactory
public NettyAcceptorFactory()
-
-
Method Details
-
createAcceptor
public Acceptor createAcceptor(String name, ClusterConnection connection, Map<String, Object> configuration, BufferHandler handler, ServerConnectionLifeCycleListener listener, Executor threadPool, ScheduledExecutorService scheduledThreadPool, Map<String, ProtocolManager> protocolMap) Description copied from interface:AcceptorFactoryCreate a new instance of an Acceptor.- Specified by:
createAcceptorin interfaceAcceptorFactory- Parameters:
name- the name of the acceptorconfiguration- the configurationhandler- the handlerlistener- the listenerthreadPool- the threadpoolscheduledThreadPool- a scheduled thread pool- Returns:
- an acceptor
-