Module org.snmp4j

Class SNMPv3SecurityModel

  • All Implemented Interfaces:
    SecurityModel
    Direct Known Subclasses:
    TSM, USM

    public abstract class SNMPv3SecurityModel
    extends Object
    implements SecurityModel
    The abstract class SNMPv3SecurityModel implements common methods and fields for security models for the SNMPv3 message processing model.
    Since:
    2.0
    Version:
    2.0
    Author:
    Frank Fock
    • Constructor Detail

      • SNMPv3SecurityModel

        public SNMPv3SecurityModel()
    • Method Detail

      • getLocalEngineID

        public OctetString getLocalEngineID()
        Returns the local engine ID.
        Returns:
        the local engine ID.
        Since:
        1.2
      • getCounterSupport

        public CounterSupport getCounterSupport()
        Gets the counter support instance that can be used to register for counter incrementation events.
        Returns:
        a CounterSupport instance that is used to fire CounterEvent.
      • setCounterSupport

        public void setCounterSupport​(CounterSupport counterSupport)
        Sets the counter support instance. By default, the singleton instance provided by the CounterSupport instance is used.
        Parameters:
        counterSupport - a CounterSupport subclass instance.