public interface MOScope
Modifier and Type | Method and Description |
---|---|
boolean |
covers(org.snmp4j.smi.OID oid)
Checks if this scope covers the supplied OID.
|
org.snmp4j.smi.OID |
getLowerBound()
Gets the lower bound OID of the scope.
|
org.snmp4j.smi.OID |
getUpperBound()
Gets the upper bound OID of the scope.
|
boolean |
isCovered(MOScope other)
Checks whether the supplied scope is covered by this scope.
|
boolean |
isLowerIncluded()
Indicates whether the lower bound OID is included in the scope or not.
|
boolean |
isOverlapping(MOScope other)
Checks whether the supplied scope overlap with this one, thus sharing at
least one OID with the supplied one.
|
boolean |
isUpperIncluded()
Indicates whether the upper bound OID is included in the scope or not.
|
org.snmp4j.smi.OID getLowerBound()
isLowerIncluded()
.org.snmp4j.smi.OID getUpperBound()
isUpperIncluded()
.boolean isLowerIncluded()
true
if the lower bound is included.boolean isUpperIncluded()
true
if the upper bound is included.boolean isCovered(MOScope other)
other
- the MOScope
to checktrue
if the lower bound of other
is greater
or equal than the lower bound of this scope and if the upper bound of
other
is lower or equal than the upper bound of this scope.boolean isOverlapping(MOScope other)
other
- a MOScope
.true
if there exists at least one OID that is included in
both scopes.boolean covers(org.snmp4j.smi.OID oid)
oid
- an OID.true
if oid
is greater or equal the scope's
lower bound and if it is less or equal its upper bound.Copyright © 2018 SNMP4J.org. All rights reserved.