Hello!

After viewing a variable in SampleAgent i want to update its value.

I did the following and it works, but is it the way it should be done?

SubRequest req ...;
mo.get(req);
Integer32 scalar = (Integer32)vb.getVariable();
scalar.setValue(value);
mo.prepare(req);
mo.commit(req);
mo.cleanup(req);


Ciao, Guenter


_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to