public interface UpdatableManagedObject extends ManagedObject
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.Modifier and Type | Method and Description |
---|---|
Date |
getLastUpdate()
Gets the date and time of the last update.
|
Object |
getLastUpdateSource()
Gets the object that triggered the last update of this managed object.
|
void |
update(MOQuery updateScope)
Update the content of the managed object that is covered by the supplied
scope.
|
Date getLastUpdate()
null
is returned.update(MOQuery updateScope)
has
been called.Object getLastUpdateSource()
null
if the source of the last update is
unknown/undefined.void update(MOQuery updateScope)
updateScope
- the query that triggered the update and thus defining the update scope.
If null
the whole managed object has to be updated.Copyright © 2017 SNMP4J.org. All rights reserved.