public interface ConnectorFactory
A Connector is used to connect to an Acceptor.
| 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.
|
Connector createConnector(Map<String,Object> configuration, BufferHandler handler, ConnectionLifeCycleListener listener, Executor closeExecutor, Executor threadPool, ScheduledExecutorService scheduledThreadPool)
configuration - the configurationhandler - the handlerlistener - the listenercloseExecutor - the close executorthreadPool - the thread poolscheduledThreadPool - the scheduled thread poolSet<String> getAllowableProperties()
This will differ between different connector implementations.
boolean isReliable()
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.