public interface MutableMOScope extends MOScope
MutableMOScope
interface describes a mutable scope
as needed for query processing.Modifier and Type | Method and Description |
---|---|
void |
setLowerBound(org.snmp4j.smi.OID lowerBound)
Sets the lower bound OID of the scope.
|
void |
setLowerIncluded(boolean lowerIncluded)
Sets the flag specifying whether the lower bound OID is included in the
scope or not.
|
void |
setUpperBound(org.snmp4j.smi.OID upperBound)
Sets the upper bound OID of the scope (can be
null for an
unbounded scope. |
void |
setUpperIncluded(boolean upperIncluded)
Sets the flag specifying whether the upper bound OID is included in the
scope or not.
|
void |
substractScope(MOScope scope)
Changes the scope to no longer cover any elements in covered by the
specified scope.
|
covers, getLowerBound, getUpperBound, isCovered, isLowerIncluded, isOverlapping, isUpperIncluded
void setLowerBound(org.snmp4j.smi.OID lowerBound)
lowerBound
- an OID.void setLowerIncluded(boolean lowerIncluded)
lowerIncluded
- true
if the lower bound is included, false
otherwise.void setUpperBound(org.snmp4j.smi.OID upperBound)
null
for an
unbounded scope.upperBound
- an OID or null
.void setUpperIncluded(boolean upperIncluded)
upperBound
is
null
.upperIncluded
- true
if the upper bound is included, false
otherwise.void substractScope(MOScope scope)
scope
- a MOScope
instance that defines the range of OIDs
that should be no longer in this scope.Copyright © 2020 SNMP4J.org. All rights reserved.