| Constructor and Description |
|---|
OIDScope(org.snmp4j.smi.OID oid) |
| 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.
|
public org.snmp4j.smi.OID getLowerBound()
MOScopeMOScope.isLowerIncluded().getLowerBound in interface MOScopepublic org.snmp4j.smi.OID getUpperBound()
MOScopeMOScope.isUpperIncluded().getUpperBound in interface MOScopepublic boolean isCovered(MOScope other)
MOScopepublic boolean isLowerIncluded()
MOScopeisLowerIncluded in interface MOScopetrue if the lower bound is included.public boolean isUpperIncluded()
MOScopeisUpperIncluded in interface MOScopetrue if the upper bound is included.public boolean isOverlapping(MOScope other)
MOScopeisOverlapping in interface MOScopeother - a MOScope.true if there exists at least one OID that is included in
both scopes.public boolean covers(org.snmp4j.smi.OID oid)
MOScopeCopyright © 2020 SNMP4J.org. All rights reserved.