All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sun.jaw.snmp.common.MibStoreIfSrv

public interface MibStoreIfSrv
This interface defines the minimal MIB functionality needed by the other SNMP classes.


Method Index

 o mapNameToType(String)
Returns the type code as defined in SnmpDataTypeEnums if it is given the code name of a type (as stored in a MibStoreIfSrv).
 o mapTypeToName(int)
Returns the string representation of a type if it is given the type code.
 o mibElements()
Returns a list that can be used to traverse the MIB database currently loaded in MIB store house.
 o resolveMibVariable(String)
Searches for the variable and return the array containing information on the variable.

Methods

 o resolveMibVariable
 public abstract String[] resolveMibVariable(String name) throws SnmpStatusException
Searches for the variable and return the array containing information on the variable. The array contains the following elements:
  1. variable name;
  2. object identifier of the variable;
  3. type of the variable.
The object identifier is represented using a dot notation (i.e 1.2.3.4).
The type is represented using one of the following:

Parameters:
name - Name of the MIB variable.
Returns:
array of string containing parameters.
Throws: SnmpStatusException
if a variable is not found.
 o mapTypeToName
 public abstract String mapTypeToName(int type)
Returns the string representation of a type if it is given the type code. 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.

 o mapNameToType
 public abstract int mapNameToType(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).

Parameters:
s - the code name of a type.
 o mibElements
 public abstract Vector mibElements()
Returns a list that can be used to traverse the MIB database currently loaded in MIB store house.

Returns:
Vector for the MIB elements. A MIB element is an array of Strings. A MIB element contains a name, a dot-separated OID String, and the corresponding SMI type of the variable.

All Packages  Class Hierarchy  This Package  Previous  Next  Index