Interface MeterContext

  • public interface MeterContext
    A context permitting the application to be notified when the meter installation has been successful.
    • Method Detail

      • onSuccess

        default void onSuccess​(MeterRequest op)
        Invoked on successful installation of the meter.
        op - a meter
      • onError

        default void onError​(MeterRequest op,
                             MeterFailReason reason)
        Invoked when error is encountered while installing a meter.
        op - a meter
        reason - the reason why it failed