[snmp] AsnInteger
Josh Bers
jbers at bbn.com
Thu May 22 17:21:36 BST 2008
The constructor for AsnInteger(int) does not set the type field of the
parent class to SnmpContants.ASN_INTEGER. This difficiency is worked around
in the write method where the type is hardcoded in the call to
AsnBuildHeader, however, it does not allow use of the getRespType() method
since it will always erroneously return 0.
Josh Bers
Senior Engineer, Mobile Networking Systems
BBN Technologies
web: www.bbn.com ph: (617) 873-4262 fax: (617) 873-4523
More information about the snmp
mailing list