Interface BeveragePourListener

All Superinterfaces:
BeveragePipelineListener
All Known Implementing Classes:
NozzleMetricsService

public interface BeveragePourListener extends BeveragePipelineListener
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 Details

    • onBeveragePourStart

      void onBeveragePourStart(BeverageNozzlePipeline pipeline, BeveragePour pour)
      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 event
      pour - the pour that just started
    • onBeveragePourStop

      void onBeveragePourStop(BeverageNozzlePipeline pipeline, BeveragePour pour)
      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 event
      pour - the pour that just ended