|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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
.
SnmpOid.setSnmpOidTable(myOidTable)
SnmpOidRecord| Method Summary | |
|---|---|
Vector |
getAllEntries()
Returns a list that can be used to traverse all the entries this SnmpOidTable. |
SnmpOidRecord |
resolveVarName(String name)
Searches for a MIB variable given its logical name and returns an SnmpOidRecord object
containing information on the variable. |
SnmpOidRecord |
resolveVarOid(String oid)
Searches for a MIB variable given its OID and returns an SnmpOidRecord object
containing information on the variable. |
| Method Detail |
|---|
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.
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.Vector getAllEntries()
SnmpOidTable.
SnmpOidRecord objects.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||