[SNMP4J] adding a row to a table

Jeff Ramin ramin at berbee.com
Mon Dec 1 22:28:55 CET 2008


When adding a row to a table, should it be available immediately afterward?
Or is some sore of commit() call necessary?

I've got code similar to:

         MOTableRow row = communityMIB.getSnmpCommunityEntry().createRow(...);
         communityMIB.getSnmpCommunityEntry().addRow(row);

The second line of code returns true, indicating the row was added, but
when I retrieve the contents of that table, the newly added row is not
returned.

Can anybody explain what I'm doing wrong? Thanks.


-- 
Jeffrey Ramin
Berbee
ramin at berbee.com
608.298.1024



More information about the SNMP4J mailing list