public class MOQueryWithSource extends DefaultMOQuery
MOQueryWithSourceclass is the implementation of a managed object query for a
Request. It is used to lookup managed objects, for example in a
|Constructor and Description|
Creates a context aware query from a context aware OID scope.
|Modifier and Type||Method and Description|
Gets the source (
This method checks whether the supplied query and the given source reference refer to the same source (request).
covers, getContext, getLowerBound, getScope, getUpperBound, isCovered, isLowerIncluded, isOverlapping, isUpperIncluded, isWriteAccessQuery, matchesQuery, substractScope, toString
public MOQueryWithSource(MOContextScope scope, boolean isWriteAccessIntended, Object source)
scope- a scope that defines the possible result set of OIDs from a specific context for this query.
isWriteAccessIntended- indicates whether this query serves a write access on
ManagedObjects or not.
Requeston whose behalf this query is being executed.
public Object getSource()
Request) object on whose behalf this query is executed. This object reference can be used to determine whether a query needs to update
ManagedObjectcontent or not. When the reference is the same as those from the last query then an update is not necessary.
source- any source object reference.
and source is not
Copyright © 2016 SNMP4J.org. All rights reserved.