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

SnmpOidTable

public interface SnmpOidTable
Defines the minimum functionality that should be provided by a class containing metadata definitions for variables of a MIB. A name can be resolved against a table of MIB variables. Each entry in the table is an SnmpOidRecord object that contains a name, a dot-separated OID string, and the corresponding SMI type of the variable.

If you need to load a specific SnmpOidTable, just call the static method {@link com.sun.jmx.snmp.SnmpOid#setSnmpOidTable SnmpOid.setSnmpOidTable(myOidTable)}.

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

see
com.sun.jmx.snmp.SnmpOidRecord
version
4.14 12/19/03
author
Sun Microsystems, Inc

Fields Summary
Constructors Summary
Methods Summary
public java.util.VectorgetAllEntries()
Returns a list that can be used to traverse all the entries this SnmpOidTable.

return
A Vector of {@link com.sun.jmx.snmp.SnmpOidRecord} objects.

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

param
name The name of the MIB variable.
return
The SnmpOidRecord object containing information on the variable.
exception
SnmpStatusException If the variable is not found.

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

param
oid The OID of the MIB variable.
return
The SnmpOidRecord object containing information on the variable.
exception
SnmpStatusException If the variable is not found.