org.snmp4j.agent.mo.snmp
Class SnmpTsmMib

java.lang.Object
  extended by org.snmp4j.agent.mo.snmp.SnmpTsmMib
All Implemented Interfaces:
MOGroup

public class SnmpTsmMib
extends java.lang.Object
implements MOGroup


Nested Class Summary
 class SnmpTsmMib.SnmpTsmConfigurationUsePrefix
           
 
Field Summary
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
           
 
Constructor Summary
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)).
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oidSnmpTsmMib

public static final org.snmp4j.smi.OID oidSnmpTsmMib
OID 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 Detail

SnmpTsmMib

protected SnmpTsmMib()
Constructs a SnmpTsmMib instance without actually creating its ManagedObject instances. This has to be done in a sub-class constructor or after construction by calling createMO(MOFactory moFactory).


SnmpTsmMib

public SnmpTsmMib(MOFactory moFactory)
Constructs a SnmpTsmMib instance and actually creates its ManagedObject instances using the supplied MOFactory (by calling createMO(MOFactory moFactory)).

Parameters:
moFactory - the MOFactory to be used to create the managed objects for this module.
Method Detail

createMO

protected void createMO(MOFactory moFactory)
Create the ManagedObjects defined for this MIB module using the specified MOFactory.

Parameters:
moFactory - the MOFactory instance to use for object creation.

getSnmpTsmInvalidCaches

public MOScalar<org.snmp4j.smi.Counter32> getSnmpTsmInvalidCaches()

getSnmpTsmInadequateSecurityLevels

public MOScalar<org.snmp4j.smi.Counter32> getSnmpTsmInadequateSecurityLevels()

getSnmpTsmUnknownPrefixes

public MOScalar<org.snmp4j.smi.Counter32> getSnmpTsmUnknownPrefixes()

getSnmpTsmInvalidPrefixes

public MOScalar<org.snmp4j.smi.Counter32> getSnmpTsmInvalidPrefixes()

getSnmpTsmConfigurationUsePrefix

public MOScalar<org.snmp4j.smi.Integer32> getSnmpTsmConfigurationUsePrefix()

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 interface MOGroup
Parameters:
server - the MOServer where to register the managed objects.
context - the context to use (may be null 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 interface MOGroup
Parameters:
server - the MOServer where to unregister the managed objects.
context - the context to use (may be null if no specific context is selected).

getTsm

public org.snmp4j.security.TSM getTsm()

setTsm

public void setTsm(org.snmp4j.security.TSM tsm)

addTCsToFactory

protected void addTCsToFactory(MOFactory moFactory)

addImportedTCsToFactory

public void addImportedTCsToFactory(MOFactory moFactory)

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.