public class NettyAcceptorFactory extends Object implements AcceptorFactory
Constructor and Description |
---|
NettyAcceptorFactory() |
Modifier and Type | Method and Description |
---|---|
Acceptor |
createAcceptor(String name,
ClusterConnection connection,
Map<String,Object> configuration,
BufferHandler handler,
ConnectionLifeCycleListener listener,
Executor threadPool,
ScheduledExecutorService scheduledThreadPool,
Map<String,ProtocolManager> protocolMap)
Create a new instance of an Acceptor.
|
public Acceptor createAcceptor(String name, ClusterConnection connection, Map<String,Object> configuration, BufferHandler handler, ConnectionLifeCycleListener listener, Executor threadPool, ScheduledExecutorService scheduledThreadPool, Map<String,ProtocolManager> protocolMap)
AcceptorFactory
createAcceptor
in interface AcceptorFactory
name
- the name of the acceptorconfiguration
- the configurationhandler
- the handlerlistener
- the listenerthreadPool
- the threadpoolscheduledThreadPool
- a scheduled thread poolCopyright © 2016 JBoss by Red Hat. All rights reserved.