java.lang.Object
org.snmp4j.agent.mo.snmp.SnmpTsmMib
- All Implemented Interfaces:
MOGroup
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDOID of this MIB module for usage which can be used for its identification.static final org.snmp4j.smi.OID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a SnmpTsmMib instance without actually creating itsManagedObjectinstances.SnmpTsmMib(MOFactory moFactory) Constructs a SnmpTsmMib instance and actually creates itsManagedObjectinstances using the suppliedMOFactory(by callingcreateMO(MOFactory moFactory)). -
Method Summary
Modifier and TypeMethodDescriptionvoidaddImportedTCsToFactory(MOFactory moFactory) protected voidaddTCsToFactory(MOFactory moFactory) protected voidCreate the ManagedObjects defined for this MIB module using the specifiedMOFactory.MOScalar<org.snmp4j.smi.Integer32>MOScalar<org.snmp4j.smi.Counter32>MOScalar<org.snmp4j.smi.Counter32>MOScalar<org.snmp4j.smi.Counter32>MOScalar<org.snmp4j.smi.Counter32>org.snmp4j.security.TSMgetTsm()voidregisterMOs(MOServer server, org.snmp4j.smi.OctetString context) Registers the managed objects of this group with the server for the supplied context.voidsetTsm(org.snmp4j.security.TSM tsm) 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
-
oidSnmpTsmMib
public static final org.snmp4j.smi.OID oidSnmpTsmMibOID of this MIB module for usage which can be used for its identification. -
oidSnmpTsmInvalidCaches
public static final org.snmp4j.smi.OID oidSnmpTsmInvalidCaches -
oidSnmpTsmInadequateSecurityLevels
public static final org.snmp4j.smi.OID oidSnmpTsmInadequateSecurityLevels -
oidSnmpTsmUnknownPrefixes
public static final org.snmp4j.smi.OID oidSnmpTsmUnknownPrefixes -
oidSnmpTsmInvalidPrefixes
public static final org.snmp4j.smi.OID oidSnmpTsmInvalidPrefixes -
oidSnmpTsmConfigurationUsePrefix
public static final org.snmp4j.smi.OID oidSnmpTsmConfigurationUsePrefix
-
-
Constructor Details
-
SnmpTsmMib
protected SnmpTsmMib()Constructs a SnmpTsmMib instance without actually creating itsManagedObjectinstances. This has to be done in a sub-class constructor or after construction by callingcreateMO(MOFactory moFactory). -
SnmpTsmMib
Constructs a SnmpTsmMib instance and actually creates itsManagedObjectinstances using the suppliedMOFactory(by callingcreateMO(MOFactory moFactory)).- Parameters:
moFactory- theMOFactoryto be used to create the managed objects for this module.
-
-
Method Details
-
createMO
Create the ManagedObjects defined for this MIB module using the specifiedMOFactory.- Parameters:
moFactory- theMOFactoryinstance to use for object creation.
-
getSnmpTsmInvalidCaches
-
getSnmpTsmInadequateSecurityLevels
-
getSnmpTsmUnknownPrefixes
-
getSnmpTsmInvalidPrefixes
-
getSnmpTsmConfigurationUsePrefix
-
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).
-
getTsm
public org.snmp4j.security.TSM getTsm() -
setTsm
public void setTsm(org.snmp4j.security.TSM tsm) -
addTCsToFactory
-
addImportedTCsToFactory
-