[SNMP4J] Class TestAndIncr does not fire MOChangeEvent

Mark Gorokhov mark.gorokhov at comtechmobile.com
Mon Feb 25 15:04:41 CET 2008


I'm listening for MOChangeEvent(s) to persist modified 
read-write objects. This is required by my persistency
model.

Generally speaking *any* well-behaving read-write 
scalar in my design is expected to fire MOChangeEvent 
if it's modified via management protocol.

Mark G.

-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com] 
Sent: Thursday, February 21, 2008 1:52 PM
To: Mark Gorokhov
Cc: snmp4j at agentpp.org
Subject: Re: [SNMP4J] Class TestAndIncr does not fire MOChangeEvent

This is not necessarily a bug, since
TestAndIncr is defined as an independently
object changes of it should not be of any
interest to other instances.

So, if you can name a use case for those
events, I will "fix" it - otherwise I will
tend to leave it as it is.

Frank

Mark Gorokhov wrote:
> The class TestAndIncr extends MOScalar but it does not fire any
> MOChangeEvent(s) to registered listeners in prepare() and commit()
> methods.
> 
> Bug?
> 
> Thanks,
> Mark G.




More information about the SNMP4J mailing list