Package | Description |
---|---|
org.snmp4j.agent | |
org.snmp4j.agent.mo.lock | |
org.snmp4j.agent.request |
Modifier and Type | Class and Description |
---|---|
class |
DefaultMOQuery
The
DefaultMOQuery class is the default implementation of a
managed object query. |
class |
MOQueryWithSource
The
MOQueryWithSource class is the implementation of a
managed object query for a Request . |
Modifier and Type | Method and Description |
---|---|
MOQuery |
MOServerLookupEvent.getQuery()
Returns the query that has been used to lookup the managed object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultMOServer.checkForUpdate(UpdatableManagedObject mo,
MOQuery query)
Checks
DefaultMOServer.updateStrategy whether the queried managed object needs
to be updated. |
protected void |
DefaultMOServer.fireLookupEvent(ManagedObject mo,
MOQuery query) |
protected void |
DefaultMOServer.fireQueryEvent(ManagedObject mo,
MOQuery query) |
static boolean |
MOScopeComparator.isQueryContextMatching(MOQuery a,
MOScope b)
Indicates whether the given query's context matches the context of the given
scope.
|
static boolean |
MOQueryWithSource.isSameSource(MOQuery query,
Object source)
This method checks whether the supplied query and the given source
reference refer to the same source (request).
|
boolean |
UpdateStrategy.isUpdateNeeded(MOServer server,
UpdatableManagedObject mo,
MOQuery query)
Checks whether the supplied
UpdatableManagedObject needs to be
updated or not to serve the supplied query. |
ManagedObject |
DefaultMOServer.lookup(MOQuery query) |
ManagedObject |
MOServer.lookup(MOQuery query)
Lookup the first (lexicographically ordered) managed object that matches
the supplied query.
|
ManagedObject |
DefaultMOServer.lookup(MOQuery query,
LockRequest lockRequest) |
ManagedObject |
MOServer.lookup(MOQuery query,
LockRequest lockRequest)
Lookup the first (lexicographically ordered) managed object that matches
the supplied query.
|
void |
UpdatableManagedObject.update(MOQuery updateScope)
Update the content of the managed object that is covered by the supplied
scope.
|
Constructor and Description |
---|
MOServerLookupEvent(Object source,
ManagedObject lookupResult,
MOQuery query) |
Modifier and Type | Method and Description |
---|---|
boolean |
MOLockStrategy.isLockNeeded(ManagedObject managedObjectLookedUp,
MOQuery query)
Check if the server access to the provided managed object needs a lock.
|
boolean |
DefaultMOLockStrategy.isLockNeeded(ManagedObject managedObjectLookedUp,
MOQuery query) |
Modifier and Type | Method and Description |
---|---|
MOQuery |
SubRequest.getQuery()
Gets the query previously associated with this sub-request.
|
MOQuery |
SnmpRequest.SnmpSubRequest.getQuery() |
Modifier and Type | Method and Description |
---|---|
void |
SubRequest.setQuery(MOQuery query)
Sets the query associated with this subrequest.
|
void |
SnmpRequest.SnmpSubRequest.setQuery(MOQuery query) |
Copyright © 2016 SNMP4J.org. All rights reserved.