[SNMP4J] SnmpConstants non-final

Mathias Bogaert m.bogaert at memenco.com
Wed Jun 15 14:55:47 CEST 2005


Hi Frank,

Would it be possible to make the SnmpConstants class non-final?  
Reasoning: being able to extend it with your own Constants class,  
thus avoiding org.snmp4j.mp.SnmpConstants in your domain objects  
(e.g. defaulting the SNMP version to version2).

Before:
private int snmpVersion = SnmpConstants.version2c;

After:
private int snmpVersion = MySpecificProductSnmpConstants.version2c;

Thank you,
-- 
Mathias Bogaert






More information about the SNMP4J mailing list