public interface AcceptorFactory
An Acceptor is an endpoint that a Connector
will connect to and is used by the remoting service.
Modifier and Type | Method and Description |
---|---|
Acceptor |
createAcceptor(String name,
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.
|
Acceptor createAcceptor(String name, ClusterConnection clusterConnection, Map<String,Object> configuration, BufferHandler handler, ConnectionLifeCycleListener listener, Executor threadPool, ScheduledExecutorService scheduledThreadPool, Map<String,ProtocolManager> protocolMap)
name
- the name of the acceptorconfiguration
- the configurationhandler
- the handlerlistener
- the listenerthreadPool
- the threadpoolscheduledThreadPool
- a scheduled thread poolprotocolMap
- Copyright © 2016 JBoss by Red Hat. All rights reserved.