Interface AcceptorFactory
public interface AcceptorFactory
A factory for creating acceptors.
An Acceptor is an endpoint that a Connector
will connect to and
is used by the remoting service.
-
Method Summary
Modifier and TypeMethodDescriptioncreateAcceptor
(String name, org.apache.activemq.artemis.core.server.cluster.ClusterConnection clusterConnection, Map<String, Object> configuration, BufferHandler handler, ServerConnectionLifeCycleListener listener, Executor threadPool, ScheduledExecutorService scheduledThreadPool, Map<String, ProtocolManager> protocolMap) Create a new instance of an Acceptor.default boolean
-
Method Details
-
createAcceptor
Acceptor createAcceptor(String name, org.apache.activemq.artemis.core.server.cluster.ClusterConnection clusterConnection, Map<String, Object> configuration, BufferHandler handler, ServerConnectionLifeCycleListener listener, Executor threadPool, ScheduledExecutorService scheduledThreadPool, Map<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 pool- Returns:
- an acceptor
-
supportsRemote
default boolean supportsRemote()
-