[SNMP4J] MPv3 CounterSupport parameter

Luis . desconocidow at hotmail.com
Sat Oct 16 02:53:24 CEST 2010


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);  } 		 	   		  


More information about the SNMP4J mailing list