Interface PollingFunction<T extends PermissionRequest>
- Type Parameters:
T- The type of permission request that is used
- All Known Implementing Classes:
EnerginetPollingFunction,GreenButtonPollingFunction,MijnAansluitingPollingFunction,RetransmissionPollingService,RetransmissionPollingService,RetransmissionPollingService,RetransmissionPollingService
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Used to poll validated historical data.
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<RetransmissionResult> poll(T permissionRequest, RetransmissionRequest retransmissionRequest) Used to poll data for a permission request.
-
Method Details
-
poll
reactor.core.publisher.Mono<RetransmissionResult> poll(T permissionRequest, RetransmissionRequest retransmissionRequest) Used to poll data for a permission request. The timeframe is specified by the retransmission request. Should only work for permission requests that are either accepted or fulfilled. The data need of the permission request has to be aValidatedHistoricalDataDataNeed.- Parameters:
permissionRequest- The permission request for which data should be polled.retransmissionRequest- Specifies the timeframe of the data.- Returns:
- If the polling was successful.
-