Interface BeveragePourListener
- All Superinterfaces:
BeveragePipelineListener
- All Known Implementing Classes:
NozzleMetricsService
Listener for when beverage pours start and stop. In this context a
pour is an entire pour sequence that may be constructed from more
than one pourable operation. To be notified when each individual
Pourable starts and stops, use BeveragePourableListener.- Since:
- 1.0
- Version:
- 2024-08-22
-
Method Summary
Modifier and TypeMethodDescriptionvoidonBeveragePourStart(BeverageNozzlePipeline pipeline, BeveragePour pour) Called when a beverage pour is about to start.voidonBeveragePourStop(BeverageNozzlePipeline pipeline, BeveragePour pour) Called when a pump intent is done.
-
Method Details
-
onBeveragePourStart
Called when a beverage pour is about to start. When this is called, the pour has already been built from the sequence so no changes can be made.- Parameters:
pipeline- the pipeline generating the eventpour- the pour that just started
-
onBeveragePourStop
Called when a pump intent is done. The end state of the future indicates whether the intent was successful or not.- Parameters:
pipeline- the pipeline generating the eventpour- the pour that just ended
-