|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.snmp4j.agent.util.OIDScope
public class OIDScope
| Constructor Summary | |
|---|---|
OIDScope(org.snmp4j.smi.OID oid)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OIDScope(org.snmp4j.smi.OID oid)
| Method Detail |
|---|
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)
MOScope
isCovered in interface MOScopeother - the MOScope to check
true 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.public boolean isLowerIncluded()
MOScope
isLowerIncluded in interface MOScopetrue if the lower bound is included.public boolean isUpperIncluded()
MOScope
isUpperIncluded in interface MOScopetrue if the upper bound is included.public boolean isOverlapping(MOScope other)
MOScope
isOverlapping 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)
MOScope
covers in interface MOScopeoid - 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 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||