Interface UpdatableManagedObject<SR extends SubRequest<?>>

All Superinterfaces:
ManagedObject<SR>

public interface UpdatableManagedObject<SR extends SubRequest<?>> extends ManagedObject<SR>
The UpdatableManagedObject interface defines the basic operations for all SNMP(4J) manageable objects that need to be updated to reflect the up-to-date state of the managed object.
Since:
1.2
Version:
3.1.0
Author:
Frank Fock
  • Method Details

    • getLastUpdate

      Date getLastUpdate()
      Gets the date and time of the last update. If that time cannot be determined null is returned.
      Returns:
      the Date when the last update(MOQuery updateScope) has been called.
    • getLastUpdateSource

      Object getLastUpdateSource()
      Gets the object that triggered the last update of this managed object. The returned object reference may be used to check if an update has already been performed for the specified source, which is typically a SNMP request.
      Returns:
      an object or null if the source of the last update is unknown/undefined.
    • update

      void update(MOQuery updateScope)
      Update the content of the managed object that is covered by the supplied scope.
      Parameters:
      updateScope - the query that triggered the update and thus defining the update scope. If null the whole managed object has to be updated.