Class InVMAcceptorFactory
java.lang.Object
org.apache.activemq.artemis.core.remoting.impl.invm.InVMAcceptorFactory
- All Implemented Interfaces:
AcceptorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAcceptor(String name, 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.boolean
-
Constructor Details
-
InVMAcceptorFactory
public InVMAcceptorFactory()
-
-
Method Details
-
createAcceptor
public Acceptor createAcceptor(String name, ClusterConnection clusterConnection, 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
-
supportsRemote
public boolean supportsRemote()- Specified by:
supportsRemotein interfaceAcceptorFactory
-