Modifier and Type | Class and Description |
---|---|
class |
SnmpTsmMib.SnmpTsmConfigurationUsePrefix |
Modifier and Type | Field and Description |
---|---|
static org.snmp4j.smi.OID |
oidSnmpTsmConfigurationUsePrefix |
static org.snmp4j.smi.OID |
oidSnmpTsmInadequateSecurityLevels |
static org.snmp4j.smi.OID |
oidSnmpTsmInvalidCaches |
static org.snmp4j.smi.OID |
oidSnmpTsmInvalidPrefixes |
static org.snmp4j.smi.OID |
oidSnmpTsmMib
OID of this MIB module for usage which can be
used for its identification.
|
static org.snmp4j.smi.OID |
oidSnmpTsmUnknownPrefixes |
Modifier | Constructor and Description |
---|---|
protected |
SnmpTsmMib()
Constructs a SnmpTsmMib instance without actually creating its
ManagedObject instances. |
|
SnmpTsmMib(MOFactory moFactory)
Constructs a SnmpTsmMib instance and actually creates its
ManagedObject instances using the supplied
MOFactory (by calling
createMO(MOFactory moFactory) ). |
Modifier and Type | Method and Description |
---|---|
void |
addImportedTCsToFactory(MOFactory moFactory) |
protected void |
addTCsToFactory(MOFactory moFactory) |
protected void |
createMO(MOFactory moFactory)
Create the ManagedObjects defined for this MIB module
using the specified
MOFactory . |
MOScalar<org.snmp4j.smi.Integer32> |
getSnmpTsmConfigurationUsePrefix() |
MOScalar<org.snmp4j.smi.Counter32> |
getSnmpTsmInadequateSecurityLevels() |
MOScalar<org.snmp4j.smi.Counter32> |
getSnmpTsmInvalidCaches() |
MOScalar<org.snmp4j.smi.Counter32> |
getSnmpTsmInvalidPrefixes() |
MOScalar<org.snmp4j.smi.Counter32> |
getSnmpTsmUnknownPrefixes() |
org.snmp4j.security.TSM |
getTsm() |
void |
registerMOs(MOServer server,
org.snmp4j.smi.OctetString context)
Registers the managed objects of this group with the server for the
supplied context.
|
void |
setTsm(org.snmp4j.security.TSM tsm) |
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 org.snmp4j.smi.OID oidSnmpTsmMib
public static final org.snmp4j.smi.OID oidSnmpTsmInvalidCaches
public static final org.snmp4j.smi.OID oidSnmpTsmInadequateSecurityLevels
public static final org.snmp4j.smi.OID oidSnmpTsmUnknownPrefixes
public static final org.snmp4j.smi.OID oidSnmpTsmInvalidPrefixes
public static final org.snmp4j.smi.OID oidSnmpTsmConfigurationUsePrefix
protected SnmpTsmMib()
ManagedObject
instances. This has to be done in a
sub-class constructor or after construction by calling
createMO(MOFactory moFactory)
.public SnmpTsmMib(MOFactory moFactory)
ManagedObject
instances using the supplied
MOFactory
(by calling
createMO(MOFactory moFactory)
).moFactory
- the MOFactory
to be used to create the
managed objects for this module.protected void createMO(MOFactory moFactory)
MOFactory
.moFactory
- the MOFactory
instance to use for object
creation.public MOScalar<org.snmp4j.smi.Counter32> getSnmpTsmInvalidCaches()
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTsmInadequateSecurityLevels()
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTsmUnknownPrefixes()
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTsmInvalidPrefixes()
public MOScalar<org.snmp4j.smi.Integer32> getSnmpTsmConfigurationUsePrefix()
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException
MOGroup
registerMOs
in interface MOGroup
server
- 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)
MOGroup
unregisterMOs
in interface MOGroup
server
- the MOServer
where to unregister the managed objects.context
- the context to use (may be null
if no specific context
is selected).public org.snmp4j.security.TSM getTsm()
public void setTsm(org.snmp4j.security.TSM tsm)
protected void addTCsToFactory(MOFactory moFactory)
public void addImportedTCsToFactory(MOFactory moFactory)
Copyright © 2017 SNMP4J.org. All rights reserved.