Interface MutableMOScope

All Superinterfaces:
MOScope
All Known Implementing Classes:
DefaultMOContextScope, DefaultMOScope

public interface MutableMOScope extends MOScope
The MutableMOScope interface describes a mutable scope as needed for query processing.
Version:
1.0
Author:
Frank Fock
  • Method Summary

    Modifier and Type
    Method
    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
    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 - true if the lower bound is included, false otherwise.
    • setUpperBound

      void setUpperBound(org.snmp4j.smi.OID upperBound)
      Sets the upper bound OID of the scope (can be null for an unbounded scope.
      Parameters:
      upperBound - an OID or null.
    • 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 if upperBound is null.
      Parameters:
      upperIncluded - true if the upper bound is included, false otherwise.
    • subtractScope

      void subtractScope(MOScope scope)
      Changes the scope to no longer cover any elements in covered by the specified scope.
      Parameters:
      scope - a MOScope instance that defines the range of OIDs that should be no longer in this scope.