org.snmp4j.agent.mo
Class MOChangeEvent
java.lang.Object
java.util.EventObject
org.snmp4j.agent.mo.DeniableEventObject
org.snmp4j.agent.mo.MOChangeEvent
- All Implemented Interfaces:
- java.io.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:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
MOChangeEvent(java.lang.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. |
MOChangeEvent(java.lang.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. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MOChangeEvent
public MOChangeEvent(java.lang.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(java.lang.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
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()
Copyright © 2011 SNMP4J.org. All Rights Reserved.