[snmp] AsnObjectId

Josh Bers jbers at bbn.com
Thu May 22 12:03:11 BST 2008


I am trying to serialize the AsnObjectId class via a wrapper (subclass). The
problem is that there is no way to modify the array of longs (OID) once
instantiated. I could use the add() methods, however, the default empty
constructor is not protected (it is package access) and the default value
for the OID is some test value, e.g., {1,3,6,1,4,1,674,10889,2,1,0} instead
of {} making it impossible to do serialization in the subclass.

 

Any suggestions on how to serialize without modifying the Westhawk code are
appreciated.

 

Thanks,

 

Josh

 

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