[SNMP4J] MOTableRow.getValue(int) question

Matthias Wiesmann matthias.wiesmann at gmail.com
Fri Mar 3 03:44:26 CET 2006


Hello everybody,

I am currently implementing a part of the Alarm MIB (RFC 3877) and one
of the table contains a representation of notification bindings. The
table implements a kind of a 'union' structure in the sense that one
column decides the actual type, and then there is a column for each
type (OctetString, OID, etc), but only the column that matches the
actual types contains the value. Thus, this table is mostly empty.

My question is, what value is getValue() supposed to return when there
is no value?
I tried using Null.noSuchObject but this causes snmpwalk to report
that the end of the MIB is reached.

Cheers

Matthias



More information about the SNMP4J mailing list