Uses of Interface
org.snmp4j.agent.MOQuery
-
Uses of MOQuery in org.snmp4j.agent
Modifier and TypeClassDescriptionclass
TheDefaultMOQuery
class is the default implementation of a managed object query.class
TheMOQueryWithSource
class is the implementation of a managed object query for aRequest
.Modifier and TypeMethodDescriptionMOServerLookupEvent.getQuery()
Returns the query that has been used to lookup the managed object.Modifier and TypeMethodDescriptionprotected void
DefaultMOServer.checkForUpdate
(UpdatableManagedObject<?> mo, MOQuery query) ChecksDefaultMOServer.updateStrategy
whether the queried managed object needs to be updated.default org.snmp4j.smi.OID
Find the first object ID (OID) in the specified search range.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 suppliedUpdatableManagedObject
needs to be updated or not to serve the supplied query.<MO extends ManagedObject<?>>
MODefaultMOServer.lookup
(MOQuery query, LockRequest lockRequest, MOServerLookupEvent lookupEvent, Class<MO> managedObjectType) Lookup the first (lexicographically ordered) managed object that matches the supplied query and implements the givenManagedObject
class.default ManagedObject
<?> Lookup the first (lexicographically ordered) managed object that matches the supplied query.default <MO extends ManagedObject<?>>
MOLookup the first (lexicographically ordered) managed object that matches the supplied query.default ManagedObject
<?> MOServer.lookup
(MOQuery query, LockRequest lockRequest) Deprecated.default ManagedObject
<?> MOServer.lookup
(MOQuery query, LockRequest lockRequest, MOServerLookupEvent lookupEvent) Lookup the first (lexicographically ordered) managed object that matches the supplied query.<MO extends ManagedObject<?>>
MOMOServer.lookup
(MOQuery query, LockRequest lockRequest, MOServerLookupEvent lookupEvent, Class<MO> managedObjectType) Lookup the first (lexicographically ordered) managed object that matches the supplied query and implements the givenManagedObject
class.void
Update the content of the managed object that is covered by the supplied scope.ModifierConstructorDescriptionMOServerLookupEvent
(Object source, ManagedObject<?> lookupResult, MOQuery query, MOServerLookupEvent.IntendedUse intendedUse) MOServerLookupEvent
(Object source, ManagedObject<?> lookupResult, MOQuery query, MOServerLookupEvent.IntendedUse intendedUse, boolean withCompletionCallback) -
Uses of MOQuery in org.snmp4j.agent.mo.lock
Modifier and TypeMethodDescriptionboolean
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
MOServer.lookup(MOQuery, LockRequest, MOServerLookupEvent, Class)
instead to specify the intended use, and event source.