Module org.snmp4j

Interface CounterListener

  • All Superinterfaces:
    java.util.EventListener
    All Known Implementing Classes:
    DefaultCounterListener

    public interface CounterListener
    extends java.util.EventListener
    The CounterListener interface has to be implemented by listener for CounterEvent events. By implementing this method, an object is able to be informed by a MessageProcessingModel, SecurityModel, or other objects about conditions causing certain counters to be incremented.
    Version:
    1.0
    Author:
    Frank Fock
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void incrementCounter​(CounterEvent event)
      Increment the supplied counter instance and return the current value (after incrementation) in the event object if the event receiver is the maintainer of the counter value.
    • Method Detail

      • incrementCounter

        void incrementCounter​(CounterEvent event)
        Increment the supplied counter instance and return the current value (after incrementation) in the event object if the event receiver is the maintainer of the counter value.
        Parameters:
        event - a CounterEvent instance.