TransportFactory¶
-
public interface
TransportFactory
¶ Interface for factories providing implementations of
Connector
instances for a certain transport.- Author
jwienke, swrede
Methods¶
createInConnector¶
-
InConnector
createInConnector
(Properties properties, ConverterSelectionStrategy<?> converters)¶ Creates an in connector for receiving events in an asynchronous fashion.
- Parameters
properties – specific options for the connector to be created
converters – the converter selection strategy to use in the new connector
- Throws
InitializeException – error creating a new connector
- Returns
new connector instance
createOutConnector¶
-
OutConnector
createOutConnector
(Properties properties, ConverterSelectionStrategy<?> converters)¶ Creates an out connector for sending events.
- Parameters
properties – specific options for the connector to be created
converters – the converter selection strategy to use in the new connector
- Throws
InitializeException – error creating a new connector
- Returns
new connector instance
getInfo¶
-
ConnectorInfo
getInfo
()¶ Returns information aobut the transport for which this factory constructs connectors.
- Returns
The info.