Package com.snmp4j.smi
Interface SmiImport
public interface SmiImport
The SmiImport represents an element within the IMPORTS construct of a SMIv1 or SMv2
MIB module.
- Since:
- 1.2 (Pro edition only)
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionGets the ASN.1 comment associated with this IMPORT element.Gets the list of imported object names from the MIB module specified bygetSourceModuleName()
.Gets the MIB module name of the IMPORT source (i.e.
-
Method Details
-
getSourceModuleName
String getSourceModuleName()Gets the MIB module name of the IMPORT source (i.e. the module on which this module depends on.- Returns:
- a MIB module name (e.g.
SNMPv2-MIB
).
-
getImportedObjectNames
Gets the list of imported object names from the MIB module specified bygetSourceModuleName()
.- Returns:
- the list of imported object names.
-
getAsn1Comment
String getAsn1Comment()Gets the ASN.1 comment associated with this IMPORT element.- Returns:
- the ASN.1 comment or
null
if no comment is available.
-