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,
ClientConnectionLifeCycleListener listener,
Executor closeExecutor,
Executor threadPool,
ScheduledExecutorService scheduledThreadPool,
ClientProtocolManager protocolManager)
creates a new instance of a connector.
|
Map<String,Object> |
getDefaults() |
boolean |
isReliable()
Indicates if connectors from this factory are reliable or not.
|
public Connector createConnector(Map<String,Object> configuration, BufferHandler handler, ClientConnectionLifeCycleListener listener, Executor closeExecutor, Executor threadPool, ScheduledExecutorService scheduledThreadPool, ClientProtocolManager protocolManager)
ConnectorFactory
createConnector
in interface ConnectorFactory
configuration
- the configurationhandler
- the handlerlistener
- the listenercloseExecutor
- the close executorthreadPool
- the thread poolscheduledThreadPool
- the scheduled thread poolpublic boolean isReliable()
ConnectorFactory
isReliable
in interface ConnectorFactory
public Map<String,Object> getDefaults()
getDefaults
in interface TransportConfigurationHelper
Copyright © 2017 JBoss by Red Hat. All rights reserved.