|
|||||||||||
| 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 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.
SnmpOidTable| Method Summary | |
void |
add(SnmpOidTable table)
Deprecated. Adds an SnmpOidTable object in this SnmpOidDatabase. |
Vector |
getAllEntries()
Deprecated. Returns a list that can be used to traverse all the entries of the SnmpOidTable objects
of this SnmpOidDatabase. |
void |
remove(SnmpOidTable table)
Deprecated. Removes an SnmpOidTable object from this SnmpOidDatabase. |
void |
removeAll()
Deprecated. Removes all the SnmpOidTable objects from this SnmpOidDatabase. |
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 void add(SnmpOidTable table)
SnmpOidTable object in this SnmpOidDatabase.
table - The table to add.
public void remove(SnmpOidTable table)
throws SnmpStatusException
SnmpOidTable object from this SnmpOidDatabase.
table - The table to be removed.
SnmpStatusExceptionpublic void removeAll()
SnmpOidTable objects from this SnmpOidDatabase.
public SnmpOidRecord resolveVarName(String name)
throws SnmpStatusException
SnmpOidRecord
object containing information on the variable.
resolveVarName in interface SnmpOidTablename - 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.
resolveVarOid in interface SnmpOidTableoid - The OID of the MIB variable.
SnmpOidRecord object containing information on the variable.
SnmpStatusException - If the variable is not found.public Vector getAllEntries()
SnmpOidTable objects
of this SnmpOidDatabase.
getAllEntries in interface SnmpOidTableSnmpOidTable objects containing all the elements of this SnmpOidDatabase.
|
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 | ||||||||||