- java.lang.Object
-
- org.snmp4j.agent.mo.snmp.SnmpFrameworkMIB
-
-
Field Summary
Fields Modifier and Type Field Description static String
MODULE_NAME
static String
SNMPADMINSTRING
static String
SNMPENGINEID
-
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 String
getName()
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 ofTextualConvention
instances in thisTCModule
.org.snmp4j.security.USM
getUSM()
boolean
isUpdateUsmFromMIB()
Deprecated.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.
-
-
-
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:MOGroup
Registers the managed objects of this group with the server for the supplied context.- Specified by:
registerMOs
in interfaceMOGroup
- Parameters:
server
- theMOServer
where to register the managed objects.context
- the context to use (may benull
if 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:MOGroup
Unregisters the managed objects of this group from the supplied server and from the supplied context.- Specified by:
unregisterMOs
in interfaceMOGroup
- Parameters:
server
- theMOServer
where to unregister the managed objects.context
- the context to use (may benull
if 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:
true
if changes are propagated.
-
getName
public String getName()
Description copied from interface:TCModule
Returns the (unique) name of the module definition.
-
getTextualConvention
public TextualConvention<?> getTextualConvention(String name)
Description copied from interface:TCModule
Gets the textual convention for the specified name.- Specified by:
getTextualConvention
in interfaceTCModule
- Parameters:
name
- the object definition name of the TC MIB definition.- Returns:
- a
TextualConvention
instance.
-
getTextualConventions
public Collection<? extends TextualConvention<?>> getTextualConventions()
Description copied from interface:TCModule
Gets a collection ofTextualConvention
instances in thisTCModule
.- Specified by:
getTextualConventions
in interfaceTCModule
- Returns:
- a Collection of
TextualConvention
instances.
-
-