| Modifier and Type | Field and Description |
|---|---|
static String |
MODULE_NAME |
static String |
SNMPADMINSTRING |
static String |
SNMPENGINEID |
| Constructor and Description |
|---|
SnmpFrameworkMIB(org.snmp4j.security.USM usm,
Collection<org.snmp4j.TransportMapping> transportMappings) |
SnmpFrameworkMIB(org.snmp4j.security.USM usm,
Collection<org.snmp4j.TransportMapping> transportMappings,
boolean updateUsmFromMIB) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the (unique) name of the module definition.
|
MOScalar |
getSnmpEngineBoots() |
MOScalar |
getSnmpEngineID() |
MOScalar |
getSnmpEngineMaxMessageSize() |
MOScalar |
getSnmpEngineTime() |
TextualConvention |
getTextualConvention(String name)
Gets the textual convention for the specified name.
|
Collection<TextualConvention> |
getTextualConventions()
Gets a collection of
TextualConvention instances in this
TCModule. |
org.snmp4j.security.USM |
getUSM() |
boolean |
isUpdateUsmFromMIB()
Indicates whether changes on the
getSnmpEngineID(), getSnmpEngineBoots(), and
getSnmpEngineTime() values are propagated to the referenced USM instance. |
void |
registerMOs(MOServer server,
org.snmp4j.smi.OctetString context)
Registers the managed objects of this group with the server for the
supplied context.
|
void |
unregisterMOs(MOServer server,
org.snmp4j.smi.OctetString context)
Unregisters the managed objects of this group from the supplied server and
from the supplied context.
|
public static final String MODULE_NAME
public static final String SNMPADMINSTRING
public static final String SNMPENGINEID
public SnmpFrameworkMIB(org.snmp4j.security.USM usm,
Collection<org.snmp4j.TransportMapping> transportMappings)
public SnmpFrameworkMIB(org.snmp4j.security.USM usm,
Collection<org.snmp4j.TransportMapping> transportMappings,
boolean updateUsmFromMIB)
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException
MOGroupregisterMOs in interface MOGroupserver - the MOServer where to register the managed objects.context - the context to use (may be null if no specific context
is selected).DuplicateRegistrationException - if a managed object's scope (i.e. lower bound) is already registered
at the server.public void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
MOGroupunregisterMOs in interface MOGroupserver - the MOServer where to unregister the managed objects.context - the context to use (may be null if no specific context
is selected).public MOScalar getSnmpEngineBoots()
public MOScalar getSnmpEngineID()
public MOScalar getSnmpEngineMaxMessageSize()
public MOScalar getSnmpEngineTime()
public org.snmp4j.security.USM getUSM()
public boolean isUpdateUsmFromMIB()
getSnmpEngineID(), getSnmpEngineBoots(), and
getSnmpEngineTime() values are propagated to the referenced USM instance. If true,
changes of those objects will be applied to the USM.true if changes are propagated.public String getName()
TCModulepublic TextualConvention getTextualConvention(String name)
TCModulegetTextualConvention in interface TCModulename - the object definition name of the TC MIB definition.TextualConvention instance.public Collection<TextualConvention> getTextualConventions()
TCModuleTextualConvention instances in this
TCModule.getTextualConventions in interface TCModuleTextualConvention instances.Copyright © 2020 SNMP4J.org. All rights reserved.