Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: typo

...

SNMP4J-SMI-PRO includes all features of SNMP4J-SMI plus full access to all MIB information, including description, object syntax, default values, etc.

Functions (of the SmiManager class)DescriptionSNMP4J-SMISNMP4J-SMI-PRO

compile(File textOrZipFile)

compile(NamedInputStream mibFile)

compile(NamedInputStream[] files,
CompilationMonitor compilationMonitor,
SmiCompiler.TargetMode compilerTargetMode, 
SmiCompiler.OverwriteMode overwriteMode, 
SmiCompiler.Strictness strictness)

Compile one or more MIB specification files into the internal MIB repository (memory or persistent cache).(tick)(tick)
deleteModule(String moduleName, boolean forceDeletion)Remove a MIB module from the internal MIB repository (cache)(tick)(tick)
listModules()List all available MIB modules in the internal MIB repository (cache)(tick)(tick)

loadModule(String moduleName)

unloadModule(String moduleName)

Load/unload a MIB module from the MIB repository into the SmiManager memory (i.e., activate a MIB module for usage by the API)(tick)(tick)

format(int[] value) 

formatForRoundTrip(int[] value)

format(OID instanceOID, Variable variable, boolean withOID)

Format an numeric OID value to a human readable object identifier with object name prefix.

 

Format a SNMP value to a human readable string using MIB information associated with the given OID. 

 

 (tick)

 

 (tick)

parse(String text)

parse(int smiSyntax, String text)

parse(OID classOrInstanceOID, String text)

parseVariableBinding(String text) 

 Parse an OID string or variable string to an OID value and VariableBinding respectively.

 

 (tick)

 

 (tick)

getIndexVariables(OID table, OID index)Gets the index Variable array for the sub-index values of a SNMP table from the given index OID (suffix). (tick) (tick)

findSmiObject(OID oid)

findSmiObject(String moduleName, String objectName)

Find and return the SmiObject with the given object name in the given MIB module or by the given OID.  (tick)
findSmiModule(String moduleName)Find and return the SmiModule with the specified name.   (tick)
findSmiObject(String moduleName, SmiObjectFilter<S> filter)  Find a  SmiObject by the given filter.  (tick)