public interface TransportFactory
Connector
instances for a certain transport.Modifier and Type | Interface and Description |
---|---|
static class |
TransportFactory.ConnectorInfo
Instances of this class describe capabilities and properties of
transport implementations.
|
Modifier and Type | Method and Description |
---|---|
InPushConnector |
createInPushConnector(Properties properties,
ConverterSelectionStrategy<?> converters)
Creates an in connector for receiving events in an asynchronous fashion.
|
OutConnector |
createOutConnector(Properties properties,
ConverterSelectionStrategy<?> converters)
Creates an out connector for sending events.
|
TransportFactory.ConnectorInfo |
getInfo()
Returns information aobut the transport for which this factory
constructs connectors.
|
TransportFactory.ConnectorInfo getInfo()
OutConnector createOutConnector(Properties properties, ConverterSelectionStrategy<?> converters) throws InitializeException
properties
- specific options for the connector to be createdconverters
- the converter selection strategy to use in the new connectorInitializeException
- error creating a new connectorInPushConnector createInPushConnector(Properties properties, ConverterSelectionStrategy<?> converters) throws InitializeException
properties
- specific options for the connector to be createdconverters
- the converter selection strategy to use in the new connectorInitializeException
- error creating a new connectorCopyright © 2018 CoR-Lab. All rights reserved.