public class SpreadFactory extends Object implements TransportFactory
TransportFactory
implementation for the spread transport.Constructor and Description |
---|
SpreadFactory() |
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.
|
public InPushConnector createInPushConnector(Properties properties, ConverterSelectionStrategy<?> converters) throws InitializeException
TransportFactory
createInPushConnector
in interface TransportFactory
properties
- specific options for the connector to be createdconverters
- the converter selection strategy to use in the new connectorInitializeException
- error creating a new connectorpublic OutConnector createOutConnector(Properties properties, ConverterSelectionStrategy<?> converters) throws InitializeException
TransportFactory
createOutConnector
in interface TransportFactory
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.