|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.jdmk.snmp.SnmpOidTableSupport
com.sun.management.snmp in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Contains metadata definitions for MIB variables.
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| Constructor Summary | |
SnmpOidTableSupport(String name)
Deprecated. Creates an SnmpOidTableSupport with the specified name. |
|
| Method Summary | |
boolean |
equals(Object object)
Deprecated. Checks if the specified Object is equal to this SnmpOidTableSupport. |
Vector |
getAllEntries()
Deprecated. Returns a list that can be used to traverse all the entries in this SnmpOidTable. |
String |
getName()
Deprecated. Returns the name identifying this SnmpOidTableSupport
object. |
void |
loadMib(SnmpOidRecord[] mibs)
Deprecated. Loads a list of variables into the storage area, which is kept in memory. |
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. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SnmpOidTableSupport(String name)
SnmpOidTableSupport with the specified name.
This name identifies the MIB to which belong the MIB variables contained
in this SnmpOidTableSupport object.
name - The OID table name.| Method Detail |
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.
getAllEntries in interface SnmpOidTableSnmpOidRecord objects.public void loadMib(SnmpOidRecord[] mibs)
mibs - The list of variables to load.public boolean equals(Object object)
Object is equal to this SnmpOidTableSupport.
object - The Object to be compared.
true if object is an SnmpOidTableSupport instance and equals to this,
false otherwise.public String getName()
SnmpOidTableSupport
object.
|
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 | ||||||||||