[SNMP4J] create localEngineID example in doc seems strange to me
Matthieu Casanova
chocolat.mou at gmail.com
Tue Jan 30 15:27:38 CET 2007
Hi, in the doc of snmp4j, I see that to create the localEngineID
the code is like that
byte[] localEngineID = ((MPv3) snmp.getMessageProcessingModel(
MessageProcessingModel.MPv3)).createLocalEngineID();
But since createLocalEngineID() is static method of MPv3, why not using
byte[] localEngineID = MPv3.createLocalEngineID();
thanks
Matthieu
More information about the SNMP4J
mailing list