Initializes an SnmpIndex
using a vector of object identifiers.
Following the RFC recommendations, every syntax that is used as a
table index should have an object identifier representation. There are
some guidelines on how to map the different syntaxes into an object identifier.
In the different SnmpValue
classes provided, there is a toOid
method to get
the object identifier of the value.
size= oidList.length;
for(int i= 0; i <size; i++) {
// The order is important ...
//
oids.addElement(oidList[i]);
}