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)
AcceptorFactory
createAcceptor
in interface AcceptorFactory
name
- the name of the acceptorconfiguration
- the configurationhandler
- the handlerlistener
- the listenerthreadPool
- the threadpoolscheduledThreadPool
- a scheduled thread poolpublic Set<String> getAllowableProperties()
AcceptorFactory
getAllowableProperties
in interface AcceptorFactory
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.