java.lang.Object
org.snmp4j.agent.mo.snmp.SnmpFrameworkMIB
The SnmpFrameworkMIB implements the SNMP-FRAMEWORK-MIB as defined by RFC 3411.
- Version:
- 3.3.6
- Author:
- Frank Fock
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSnmpFrameworkMIB(org.snmp4j.smi.OctetString engineId, org.snmp4j.security.USM usm, Collection<org.snmp4j.TransportMapping<? extends org.snmp4j.smi.Address>> transportMappings) SnmpFrameworkMIB(org.snmp4j.smi.OctetString engineId, org.snmp4j.security.USM usm, Collection<org.snmp4j.TransportMapping<? extends org.snmp4j.smi.Address>> transportMappings, boolean updateUsmFromMIB) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the (unique) name of the module definition.MOScalar<org.snmp4j.smi.Integer32>MOScalar<org.snmp4j.smi.OctetString>MOScalar<org.snmp4j.smi.Integer32>MOScalar<org.snmp4j.smi.Integer32>getTextualConvention(String name) Gets the textual convention for the specified name.Collection<? extends TextualConvention<?>>Gets a collection ofTextualConventioninstances in thisTCModule.org.snmp4j.security.USMgetUSM()booleanDeprecated.voidregisterMOs(MOServer server, org.snmp4j.smi.OctetString context) Registers the managed objects of this group with the server for the supplied context.voidunregisterMOs(MOServer server, org.snmp4j.smi.OctetString context) Unregisters the managed objects of this group from the supplied server and from the supplied context.
-
Field Details
-
MODULE_NAME
- See Also:
-
SNMPADMINSTRING
- See Also:
-
SNMPENGINEID
- See Also:
-
-
Constructor Details
-
SnmpFrameworkMIB
public SnmpFrameworkMIB(org.snmp4j.smi.OctetString engineId, org.snmp4j.security.USM usm, Collection<org.snmp4j.TransportMapping<? extends org.snmp4j.smi.Address>> transportMappings) -
SnmpFrameworkMIB
@Deprecated public SnmpFrameworkMIB(org.snmp4j.smi.OctetString engineId, org.snmp4j.security.USM usm, Collection<org.snmp4j.TransportMapping<? extends org.snmp4j.smi.Address>> transportMappings, boolean updateUsmFromMIB) Deprecated.
-
-
Method Details
-
registerMOs
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException Description copied from interface:MOGroupRegisters the managed objects of this group with the server for the supplied context.- Specified by:
registerMOsin interfaceMOGroup- Parameters:
server- theMOServerwhere to register the managed objects.context- the context to use (may benullif no specific context is selected).- Throws:
DuplicateRegistrationException- if a managed object's scope (i.e. lower bound) is already registered at the server.
-
unregisterMOs
Description copied from interface:MOGroupUnregisters the managed objects of this group from the supplied server and from the supplied context.- Specified by:
unregisterMOsin interfaceMOGroup- Parameters:
server- theMOServerwhere to unregister the managed objects.context- the context to use (may benullif no specific context is selected).
-
getSnmpEngineBoots
-
getSnmpEngineID
-
getSnmpEngineMaxMessageSize
-
getSnmpEngineTime
-
getUSM
public org.snmp4j.security.USM getUSM() -
isUpdateUsmFromMIB
Deprecated.Indicates whether changes on thegetSnmpEngineID(),getSnmpEngineBoots(), andgetSnmpEngineTime()values are propagated to the referenced USM instance. If true, changes of those objects will be applied to the USM.- Returns:
trueif changes are propagated.
-
getName
Description copied from interface:TCModuleReturns the (unique) name of the module definition. -
getTextualConvention
Description copied from interface:TCModuleGets the textual convention for the specified name.- Specified by:
getTextualConventionin interfaceTCModule- Parameters:
name- the object definition name of the TC MIB definition.- Returns:
- a
TextualConventioninstance.
-
getTextualConventions
Description copied from interface:TCModuleGets a collection ofTextualConventioninstances in thisTCModule.- Specified by:
getTextualConventionsin interfaceTCModule- Returns:
- a Collection of
TextualConventioninstances.
-