Module org.snmp4j

Class SnmpEngineEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class SnmpEngineEvent
    extends java.util.EventObject
    The SnmpEngineEvent describes events generated on behalf of the engine ID cache of the SNMPv3 message processing model (MPv3).
    Since:
    1.6
    Version:
    1.6
    Author:
    Frank Fock
    See Also:
    Serialized Form
    • Constructor Detail

      • SnmpEngineEvent

        public SnmpEngineEvent​(MPv3 source,
                               int type,
                               OctetString engineID,
                               Address engineAddress)
    • Method Detail

      • getType

        public int getType()
        Returns the type of the engine event.
        Returns:
        one of the integer constants defined by this class.
      • getEngineID

        public OctetString getEngineID()
        Returns the engine ID associated with this event.
        Returns:
        the engine ID.
      • getEngineAddress

        public Address getEngineAddress()
        Returns the transport address of the engine.
        Returns:
        the transport address.