Class NettyAcceptorFactory
- java.lang.Object
-
- org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptorFactory
-
- All Implemented Interfaces:
AcceptorFactory
public class NettyAcceptorFactory extends Object implements AcceptorFactory
-
-
Constructor Summary
Constructors Constructor Description NettyAcceptorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AcceptorcreateAcceptor(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.
-
-
-
Method Detail
-
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
-
-