Package | Description |
---|---|
org.snmp4j.agent | |
org.snmp4j.agent.mo.lock | |
org.snmp4j.agent.request |
Modifier and Type | Class | 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 | Description |
---|---|---|
MOQuery |
MOServerLookupEvent.getQuery() |
Returns the query that has been used to lookup the managed object.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
DefaultMOServer.checkForUpdate(UpdatableManagedObject mo,
MOQuery query) |
Checks
DefaultMOServer.updateStrategy whether the queried managed object needs
to be updated. |
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,
java.lang.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 |
DefaultMOServer.lookup(MOQuery query,
LockRequest lockRequest,
MOServerLookupEvent lookupEvent) |
Lookup the first (lexicographically ordered) managed object that matches
the supplied query.
|
ManagedObject |
MOServer.lookup(MOQuery query) |
Lookup the first (lexicographically ordered) managed object that matches
the supplied query.
|
default ManagedObject |
MOServer.lookup(MOQuery query,
LockRequest lockRequest) |
Deprecated.
Use
MOServer.lookup(MOQuery, LockRequest, MOServerLookupEvent) instead to specify
the intended use, and event source. |
ManagedObject |
MOServer.lookup(MOQuery query,
LockRequest lockRequest,
MOServerLookupEvent lookupEvent) |
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 | Description |
---|---|
MOServerLookupEvent(java.lang.Object source,
ManagedObject lookupResult,
MOQuery query,
MOServerLookupEvent.IntendedUse intendedUse) |
|
MOServerLookupEvent(java.lang.Object source,
ManagedObject lookupResult,
MOQuery query,
MOServerLookupEvent.IntendedUse intendedUse,
boolean withCompletionCallback) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
DefaultMOLockStrategy.isLockNeeded(ManagedObject managedObjectLookedUp,
MOQuery query) |
|
boolean |
MOLockStrategy.isLockNeeded(ManagedObject managedObjectLookedUp,
MOQuery query) |
Check if the server access to the provided managed object needs a lock.
|
Modifier and Type | Method | Description |
---|---|---|
MOQuery |
SnmpRequest.SnmpSubRequest.getQuery() |
|
MOQuery |
SubRequest.getQuery() |
Gets the query previously associated with this sub-request.
|
Modifier and Type | Method | Description |
---|---|---|
void |
SnmpRequest.SnmpSubRequest.setQuery(MOQuery query) |
|
void |
SubRequest.setQuery(MOQuery query) |
Sets the query associated with this subrequest.
|
Copyright © 2018 SNMP4J.org. All rights reserved.