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.
|
Set<String> |
getAllowableProperties()
Returns the allowable properties for this acceptor.
|
public Acceptor createAcceptor(String name, ClusterConnection connection, Map<String,Object> configuration, BufferHandler handler, ConnectionLifeCycleListener listener, Executor threadPool, ScheduledExecutorService scheduledThreadPool, Map<String,ProtocolManager> protocolMap)
AcceptorFactorycreateAcceptor in interface AcceptorFactoryname - the name of the acceptorconfiguration - the configurationhandler - the handlerlistener - the listenerthreadPool - the threadpoolscheduledThreadPool - a scheduled thread poolpublic Set<String> getAllowableProperties()
AcceptorFactorygetAllowableProperties in interface AcceptorFactoryCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.