Class MOChangeEvent

All Implemented Interfaces:
Serializable

public class MOChangeEvent extends DeniableEventObject
The MOChangeEvent describes the change of a single value of a ManagedObject.
Version:
1.0
Author:
Frank Fock
See Also:
  • Constructor Details

    • MOChangeEvent

      public MOChangeEvent(Object source, ManagedObject changedObject, org.snmp4j.smi.OID oid, org.snmp4j.smi.Variable oldValue, org.snmp4j.smi.Variable newValue)
      Creates a deniable MOChangeEvent object based on the changed managed object, the instance OID of the changed value, with old and new value.
      Parameters:
      source - the event source.
      changedObject - the ManagedObject whose value is changed.
      oid - the instance OID of the changed instance.
      oldValue - the old value.
      newValue - the new value.
    • MOChangeEvent

      public MOChangeEvent(Object source, ManagedObject changedObject, org.snmp4j.smi.OID oid, org.snmp4j.smi.Variable oldValue, org.snmp4j.smi.Variable newValue, boolean deniable)
      Creates a MOChangeEvent object based on the changed managed object, the instance OID of the changed value, with old and new value.
      Parameters:
      source - the event source.
      changedObject - the ManagedObject whose value is changed.
      oid - the instance OID of the changed instance.
      oldValue - the old value.
      newValue - the new value.
      deniable - indicates whether the event can be canceled through setting its denyReason member to a SNMP error status.
      Since:
      1.1
  • Method Details

    • getChangedObject

      public ManagedObject getChangedObject()
    • getOID

      public org.snmp4j.smi.OID getOID()
    • getOldValue

      public org.snmp4j.smi.Variable getOldValue()
    • getNewValue

      public org.snmp4j.smi.Variable getNewValue()