|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
com.sun.management.snmp in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
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
.
SnmpOid.setSnmpOidTable(myOidTable)
SnmpOidRecord| Method Summary | |
Vector |
getAllEntries()
Deprecated. Returns a list that can be used to traverse all the entries this SnmpOidTable. |
SnmpOidRecord |
resolveVarName(String name)
Deprecated. Searches for a MIB variable given its logical name and returns an SnmpOidRecord object
containing information on the variable. |
SnmpOidRecord |
resolveVarOid(String oid)
Deprecated. Searches for a MIB variable given its OID and returns an SnmpOidRecord object
containing information on the variable. |
| Method Detail |
public SnmpOidRecord resolveVarName(String name)
throws SnmpStatusException
SnmpOidRecord object
containing information on the variable.
name - The name of the MIB variable.
SnmpOidRecord object containing information on the variable.
SnmpStatusException - If the variable is not found.
public SnmpOidRecord resolveVarOid(String oid)
throws SnmpStatusException
SnmpOidRecord object
containing information on the variable.
oid - The OID of the MIB variable.
SnmpOidRecord object containing information
on the variable.
SnmpStatusException - If the variable is not found.public Vector getAllEntries()
SnmpOidTable.
SnmpOidRecord objects.
|
FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||