AcceptorFactory (ActiveMQ Artemis Web 1.1.0.wildfly-010 API)
Date: 2015-12-18

org.apache.activemq.artemis.spi.core.remoting

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Acceptor` | `createAcceptor(String name, org.apache.activemq.artemis.core.server.cluster.ClusterConnection clusterConnection, Map<String,Object> configuration, BufferHandler handler, ConnectionLifeCycleListener listener, Executor threadPool, ScheduledExecutorService scheduledThreadPool, Map<String,ProtocolManager> protocolMap)` Create a new instance of an Acceptor.

- - ### Method Detail

    - #### createAcceptor

          Acceptor createAcceptor(String name,
                                  org.apache.activemq.artemis.core.server.cluster.ClusterConnection clusterConnection,
                                  Map<String,Object> configuration,
                                  BufferHandler handler,
                                  ConnectionLifeCycleListener listener,
                                  Executor threadPool,
                                  ScheduledExecutorService scheduledThreadPool,
                                  Map<String,ProtocolManager> protocolMap)

      Create a new instance of an Acceptor.
      Parameters:
        `name` - the name of the acceptor
        `configuration` - the configuration
        `handler` - the handler
        `listener` - the listener
        `threadPool` - the threadpool
        `scheduledThreadPool` - a scheduled thread pool
        `protocolMap` -
      Returns:
        an acceptor

Copyright © 2015. All rights reserved.