Interface AcceptorFactory
-
public interface AcceptorFactoryA factory for creating acceptors.An Acceptor is an endpoint that a
Connectorwill connect to and is used by the remoting service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AcceptorcreateAcceptor(java.lang.String name, org.apache.activemq.artemis.core.server.cluster.ClusterConnection clusterConnection, java.util.Map<java.lang.String,java.lang.Object> configuration, BufferHandler handler, ServerConnectionLifeCycleListener listener, java.util.concurrent.Executor threadPool, java.util.concurrent.ScheduledExecutorService scheduledThreadPool, java.util.Map<java.lang.String,ProtocolManager> protocolMap)Create a new instance of an Acceptor.
-
-
-
Method Detail
-
createAcceptor
Acceptor createAcceptor(java.lang.String name, org.apache.activemq.artemis.core.server.cluster.ClusterConnection clusterConnection, java.util.Map<java.lang.String,java.lang.Object> configuration, BufferHandler handler, ServerConnectionLifeCycleListener listener, java.util.concurrent.Executor threadPool, java.util.concurrent.ScheduledExecutorService scheduledThreadPool, java.util.Map<java.lang.String,ProtocolManager> protocolMap)
Create a new instance of an Acceptor.- Parameters:
name- the name of the acceptorconfiguration- the configurationhandler- the handlerlistener- the listenerthreadPool- the threadpoolscheduledThreadPool- a scheduled thread poolprotocolMap-- Returns:
- an acceptor
-
-