|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the minimal MIB functionality needed by the other SNMP classes.
Method Summary | |
int |
mapNameToType(java.lang.String s)
Returns the type code as defined in SnmpDataTypeEnums if it is given the code name of a type (as stored in a MibStoreIfSrv ). |
java.lang.String |
mapTypeToName(int type)
Returns the string representation of a type if it is given the type code. |
java.util.Vector |
mibElements()
Returns a list that can be used to traverse the MIB database currently loaded in MIB store house. |
java.lang.String[] |
resolveMibVariable(java.lang.String name)
Searches for the variable and return the array containing information on the variable. |
Method Detail |
public java.lang.String[] resolveMibVariable(java.lang.String name) throws SnmpStatusException
name
- The name of the MIB variable.public java.lang.String mapTypeToName(int type)
The names returned can be one of:
Integer32
Gauge32
Counter32
Counter64
TimeTicks
String
Object Identifier
Null
Opaque
Unsigned32
IpAddress
Table Entry
(if the variable corresponds to a table entry)
Table
(if the variable corresponds to a table)
Unknown
type
- The type.public int mapNameToType(java.lang.String s)
MibStoreIfSrv
).s
- The code name of a type.public java.util.Vector mibElements()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |