- All Superinterfaces:
MOScope
- All Known Implementing Classes:
DefaultMOContextScope,DefaultMOScope
The
MutableMOScope interface describes a mutable scope
as needed for query processing.- Version:
- 1.0
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetLowerBound(org.snmp4j.smi.OID lowerBound) Sets the lower bound OID of the scope.voidsetLowerIncluded(boolean lowerIncluded) Sets the flag specifying whether the lower bound OID is included in the scope or not.voidsetUpperBound(org.snmp4j.smi.OID upperBound) Sets the upper bound OID of the scope (can benullfor an unbounded scope.voidsetUpperIncluded(boolean upperIncluded) Sets the flag specifying whether the upper bound OID is included in the scope or not.voidsubtractScope(MOScope scope) Changes the scope to no longer cover any elements in covered by the specified scope.Methods inherited from interface org.snmp4j.agent.MOScope
covers, getLowerBound, getUpperBound, isCovered, isLowerIncluded, isOverlapping, isUpperIncluded
-
Method Details
-
setLowerBound
void setLowerBound(org.snmp4j.smi.OID lowerBound) Sets the lower bound OID of the scope.- Parameters:
lowerBound- an OID.
-
setLowerIncluded
void setLowerIncluded(boolean lowerIncluded) Sets the flag specifying whether the lower bound OID is included in the scope or not.- Parameters:
lowerIncluded-trueif the lower bound is included,falseotherwise.
-
setUpperBound
void setUpperBound(org.snmp4j.smi.OID upperBound) Sets the upper bound OID of the scope (can benullfor an unbounded scope.- Parameters:
upperBound- an OID ornull.
-
setUpperIncluded
void setUpperIncluded(boolean upperIncluded) Sets the flag specifying whether the upper bound OID is included in the scope or not. This flag has no effect ifupperBoundisnull.- Parameters:
upperIncluded-trueif the upper bound is included,falseotherwise.
-
subtractScope
Changes the scope to no longer cover any elements in covered by the specified scope.- Parameters:
scope- aMOScopeinstance that defines the range of OIDs that should be no longer in this scope.
-