FileDocCategorySizeDatePackage
SnmpOidDatabase.javaAPI DocJava SE 5 API2817Fri Aug 26 14:55:04 BST 2005com.sun.jmx.snmp

SnmpOidDatabase

public interface SnmpOidDatabase implements com.sun.jmx.snmp.SnmpOidTable
Defines the minimal functionality that should be provided by a class containing a set of SnmpOidTable objects containing metadata definitions for MIB variables. Each SnmpOidTable should contain information on variables of one MIB. The SnmpOidDatabase is a "repository" of SnmpOidTable. It extends the SnmpOidTable interface in order to provide resolution of the MIB variables.

This API is a Sun Microsystems internal API and is subject to change without notice.

see
com.sun.jmx.snmp.SnmpOidTable

Fields Summary
Constructors Summary
Methods Summary
public voidadd(com.sun.jmx.snmp.SnmpOidTable table)
Adds an SnmpOidTable object in this SnmpOidDatabase.

param
table The table to add.

public java.util.VectorgetAllEntries()
Returns a list that can be used to traverse all the entries of the SnmpOidTable objects of this SnmpOidDatabase.

return
A vector of SnmpOidTable objects containing all the elements of this SnmpOidDatabase.

public voidremove(com.sun.jmx.snmp.SnmpOidTable table)
Removes an SnmpOidTable object from this SnmpOidDatabase.

param
table The table to be removed.

public voidremoveAll()
Removes all the SnmpOidTable objects from this SnmpOidDatabase.

public com.sun.jmx.snmp.SnmpOidRecordresolveVarName(java.lang.String name)
Searches for a MIB variable given its logical name and returns an SnmpOidRecord object containing information on the variable.

param
name The name of the MIB variable.
return
The SnmpOidRecord object containing information on the variable.

public com.sun.jmx.snmp.SnmpOidRecordresolveVarOid(java.lang.String oid)
Searches for a MIB variable given its OID and returns an SnmpOidRecord object containing information on the variable.

param
oid The OID of the MIB variable.
return
The SnmpOidRecord object containing information on the variable.