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 Detail

      • 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.
      • substractScope

        void substractScope​(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.