Package energy.eddie.aiida.streamers
Class StreamerFactory
java.lang.Object
energy.eddie.aiida.streamers.StreamerFactory
-
Method Summary
Modifier and TypeMethodDescriptionprotected static AiidaStreamergetAiidaStreamer(StreamerDependencies dependencies, Permission permission, reactor.core.publisher.Flux<AiidaRecord> recordFlux) Creates a newAiidaStreamerapplying the specified streamingConfig.
-
Method Details
-
getAiidaStreamer
protected static AiidaStreamer getAiidaStreamer(StreamerDependencies dependencies, Permission permission, reactor.core.publisher.Flux<AiidaRecord> recordFlux) throws org.eclipse.paho.mqttv5.common.MqttException Creates a newAiidaStreamerapplying the specified streamingConfig.- Parameters:
dependencies- Streamer dependencies shared by every streamer implementation.permission- Permission for which to create the AiidaStreamer.recordFlux- Flux on which the records that should be sent are published.- Throws:
org.eclipse.paho.mqttv5.common.MqttException- If the creation of the MqttClient failed.
-