Dear all,
I am using SNMP4J - SMI -PRO within my application to compile MIB files and gather properties of managed objects specified within these files. Whenever I look up a specific OID and it happens to be of type 'OBJECT_TYPE_SCALAR' or 'OBJECT_TYPE_COLUMN' I can cast it to 'SmiObjectType' or 'SmiValueType' and access the methods those interfaces offer. I run into problems when the SmiObject is of SMI-Type 'TRAP_TYPE' or 'NOTIFICATION_TYPE'. If I inspect such a before mentioned SmiObject - instance in a debugger, I can see it contains an MIBNotifyType - Object offering the trap's enterprise attribute and contained varbinds. However I cannot figure out how to access these information. I tried to cast the SmiObject to MibNotifyType without success. More over I did not find out any other interface or class I can utilize. My goal is to extract the trap's varbinds to gather further information on their syntax, potential range etc. How can i do that ? Thank you in advance and kind regards, René This email has been protected by YAC (Yet Another Cleaner) http://www.yac.mx _______________________________________________ SNMP4J mailing list [email protected] https://oosnmp.net/mailman/listinfo/snmp4j
