Uses of Interface
org.snmp4j.agent.MOQuery
-
Packages that use MOQuery Package Description org.snmp4j.agent org.snmp4j.agent.mo.lock org.snmp4j.agent.request -
-
Uses of MOQuery in org.snmp4j.agent
Classes in org.snmp4j.agent that implement MOQuery Modifier and Type Class Description class
DefaultMOQuery
TheDefaultMOQuery
class is the default implementation of a managed object query.class
MOQueryWithSource
TheMOQueryWithSource
class is the implementation of a managed object query for aRequest
.Methods in org.snmp4j.agent that return MOQuery Modifier and Type Method Description MOQuery
MOServerLookupEvent. getQuery()
Returns the query that has been used to lookup the managed object.Methods in org.snmp4j.agent with parameters of type MOQuery Modifier and Type Method Description protected void
DefaultMOServer. checkForUpdate(UpdatableManagedObject mo, MOQuery query)
ChecksDefaultMOServer.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 suppliedUpdatableManagedObject
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.UseMOServer.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.Constructors in org.snmp4j.agent with parameters of type MOQuery 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)
-
Uses of MOQuery in org.snmp4j.agent.mo.lock
Methods in org.snmp4j.agent.mo.lock with parameters of type MOQuery 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. -
Uses of MOQuery in org.snmp4j.agent.request
Methods in org.snmp4j.agent.request that return MOQuery Modifier and Type Method Description MOQuery
SnmpRequest.SnmpSubRequest. getQuery()
MOQuery
SubRequest. getQuery()
Gets the query previously associated with this sub-request.Methods in org.snmp4j.agent.request with parameters of type MOQuery Modifier and Type Method Description void
SnmpRequest.SnmpSubRequest. setQuery(MOQuery query)
void
SubRequest. setQuery(MOQuery query)
Sets the query associated with this subrequest.
-