Greetings,

In both of the AgentConfigManager's constructors, the JavaDoc for the
vacm parameter mentions "Typically, this parameter is set to null to use
the default VACM associated with the VacmMIB."

The javadoc for AgentConfigManager.getVACM() states "Returns the VACM
used by this agent config manager."

That isn't the case.  The getVACM() method returns the VACM object given
in the constructor.  If you use null in the constructor, getVACM()
returns null instead of a reference to the vacmMIB attribute which is
what it is actually using.

I'd much prefer for getVACM() to actually return the VACM object used in
this case (the default VacmMIB) versus the null that I passed in via the
constructor.

-- 
Mark A. Flacy <[email protected]>

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

Reply via email to