Class SnmpFrameworkMIB

  • All Implemented Interfaces:
    TCModule, MOGroup


    public class SnmpFrameworkMIB
    extends Object
    implements MOGroup, TCModule
    The SnmpFrameworkMIB implements the SNMP-FRAMEWORK-MIB as defined by RFC 3411.
    Version:
    3.3.6
    Author:
    Frank Fock
    • 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 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).
      • 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 the getSnmpEngineID(), getSnmpEngineBoots(), and getSnmpEngineTime() 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.
        Specified by:
        getName in interface TCModule
        Returns:
        a unique SMI MODULE name (upper case string with hyphens).
      • getTextualConvention

        public TextualConvention<?> getTextualConvention​(String name)
        Description copied from interface: TCModule
        Gets the textual convention for the specified name.
        Specified by:
        getTextualConvention in interface TCModule
        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 of TextualConvention instances in this TCModule.
        Specified by:
        getTextualConventions in interface TCModule
        Returns:
        a Collection of TextualConvention instances.