public class NettyConnectorFactory extends Object implements ConnectorFactory
| Constructor and Description |
|---|
NettyConnectorFactory() |
| Modifier and Type | Method and Description |
|---|---|
Connector |
createConnector(Map<String,Object> configuration,
BufferHandler handler,
ConnectionLifeCycleListener listener,
Executor closeExecutor,
Executor threadPool,
ScheduledExecutorService scheduledThreadPool)
creates a new instance of a connector.
|
Set<String> |
getAllowableProperties()
Returns the allowable properties for this connector.
|
boolean |
isReliable()
Indicates if connectors from this factory are reliable or not.
|
public Connector createConnector(Map<String,Object> configuration, BufferHandler handler, ConnectionLifeCycleListener listener, Executor closeExecutor, Executor threadPool, ScheduledExecutorService scheduledThreadPool)
ConnectorFactorycreateConnector in interface ConnectorFactoryconfiguration - the configurationhandler - the handlerlistener - the listenercloseExecutor - the close executorthreadPool - the thread poolscheduledThreadPool - the scheduled thread poolpublic Set<String> getAllowableProperties()
ConnectorFactoryThis will differ between different connector implementations.
getAllowableProperties in interface ConnectorFactorypublic boolean isReliable()
ConnectorFactoryisReliable in interface ConnectorFactoryCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.