- java.lang.Object
-
- org.snmp4j.agent.mo.snmp.SnmpFrameworkMIB
-
-
Field Summary
Fields Modifier and Type Field Description static StringMODULE_NAMEstatic StringSNMPADMINSTRINGstatic StringSNMPENGINEID
-
Constructor Summary
Constructors Constructor Description SnmpFrameworkMIB(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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetName()Returns the (unique) name of the module definition.MOScalar<org.snmp4j.smi.Integer32>getSnmpEngineBoots()MOScalar<org.snmp4j.smi.OctetString>getSnmpEngineID()MOScalar<org.snmp4j.smi.Integer32>getSnmpEngineMaxMessageSize()MOScalar<org.snmp4j.smi.Integer32>getSnmpEngineTime()TextualConvention<?>getTextualConvention(String name)Gets the textual convention for the specified name.Collection<? extends TextualConvention<?>>getTextualConventions()Gets a collection ofTextualConventioninstances in thisTCModule.org.snmp4j.security.USMgetUSM()booleanisUpdateUsmFromMIB()Deprecated.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 Detail
-
MODULE_NAME
public static final String MODULE_NAME
- See Also:
- Constant Field Values
-
SNMPADMINSTRING
public static final String SNMPADMINSTRING
- See Also:
- Constant Field Values
-
SNMPENGINEID
public static final String SNMPENGINEID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
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
public void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
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
public MOScalar<org.snmp4j.smi.Integer32> getSnmpEngineBoots()
-
getSnmpEngineID
public MOScalar<org.snmp4j.smi.OctetString> getSnmpEngineID()
-
getSnmpEngineMaxMessageSize
public MOScalar<org.snmp4j.smi.Integer32> getSnmpEngineMaxMessageSize()
-
getSnmpEngineTime
public MOScalar<org.snmp4j.smi.Integer32> getSnmpEngineTime()
-
getUSM
public org.snmp4j.security.USM getUSM()
-
isUpdateUsmFromMIB
@Deprecated public boolean 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
public String getName()
Description copied from interface:TCModuleReturns the (unique) name of the module definition.
-
getTextualConvention
public TextualConvention<?> getTextualConvention(String name)
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
public Collection<? extends TextualConvention<?>> getTextualConventions()
Description copied from interface:TCModuleGets a collection ofTextualConventioninstances in thisTCModule.- Specified by:
getTextualConventionsin interfaceTCModule- Returns:
- a Collection of
TextualConventioninstances.
-
-