public interface CounterListener extends EventListener
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.Modifier and Type | Method and 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.
|
void incrementCounter(CounterEvent event)
event
- a CounterEvent
instance.Copyright © 2015 SNMP4J.org. All rights reserved.