[SNMP4J] MPv3 CounterSupport parameter

Frank Fock fock at agentpp.com
Sat Oct 16 16:06:19 CEST 2010


Hi Luis,

Thank you for reporting this. The bug has no functional
effect. However, counter values regarding MPv3 could not
be incremented correctly.

Best regards,
Frank

On 16.10.2010 02:53, Luis . wrote:
>
> Hello
> on the MPv3 class there is a constructor that receives a parameters CounterSupport counterSupport but  does nos asign it anywere,
> can somebody describe what problems can it couse?
> public MPv3(byte[] localEngineID, PDUFactory incomingPDUFactory,              SecurityProtocols secProtocols,              SecurityModels secModels,              CounterSupport counterSupport) {    if (incomingPDUFactory != null) {      this.incomingPDUFactory = incomingPDUFactory;    }    engineIDs = new Hashtable();    cache = new Cache();    if (secProtocols == null) {      throw new NullPointerException();    }    securityProtocols = secProtocols;    if (secModels == null) {      throw new NullPointerException();    }    securityModels = secModels;    if (counterSupport == null) {      throw new NullPointerException();    }    counterSupport = counterSupport;    setLocalEngineID(localEngineID);  } 		 	   		
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list