Class ValidatedHistoricalDataStream
java.lang.Object
energy.eddie.regionconnector.de.eta.providers.ValidatedHistoricalDataStream
- All Implemented Interfaces:
AutoCloseable
Central stream for validated historical data from ETA Plus.
This component manages the reactive stream of validated historical data AND
is responsible for tracking the latest meter reading for fulfillment checks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidpublish(DePermissionRequest permissionRequest, EtaPlusMeteredData data) Publish validated historical data to the stream and update latest reading state.reactor.core.publisher.Flux<IdentifiableValidatedHistoricalData> Get the flux of validated historical data.
-
Constructor Details
-
Method Details
-
validatedHistoricalData
Get the flux of validated historical data. Subscribers (like DeRawDataProvider) use this.- Returns:
- the flux of identifiable validated historical data
-
publish
Publish validated historical data to the stream and update latest reading state.- Parameters:
permissionRequest- the permission request the data belongs todata- the validated historical data from ETA Plus
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-