Class AgentXSearchRange

java.lang.Object
org.snmp4j.agent.DefaultMOScope
org.snmp4j.agent.agentx.master.AgentXSearchRange
All Implemented Interfaces:
org.snmp4j.agent.MOScope, org.snmp4j.agent.MutableMOScope

public class AgentXSearchRange extends org.snmp4j.agent.DefaultMOScope
A AgentXSearchRange extends a DefaultMOScope by a reference to the original SNMP SnmpRequest.SnmpSubRequest.
  • Field Summary

    Fields inherited from class org.snmp4j.agent.DefaultMOScope

    lowerBound, lowerIncluded, upperBound, upperIncluded
  • Constructor Summary

    Constructors
    Constructor
    Description
    AgentXSearchRange(org.snmp4j.smi.OID lowerBound, boolean lowerIncluded, org.snmp4j.smi.OID upperBound, boolean upperIncluded, org.snmp4j.agent.request.SnmpRequest.SnmpSubRequest reference)
    Creates a AgentXSearchRange from its bounds and the reference to the original SNMP SnmpRequest.SnmpSubRequest.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.snmp4j.agent.request.SnmpRequest.SnmpSubRequest
    Gets the reference to original SNMP SnmpRequest.SnmpSubRequest.

    Methods inherited from class org.snmp4j.agent.DefaultMOScope

    covers, covers, covers, equals, getLowerBound, getUpperBound, hashCode, isCovered, isEmpty, isLowerIncluded, isOverlapping, isUpperIncluded, overlaps, setLowerBound, setLowerIncluded, setUpperBound, setUpperIncluded, subtractScope, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AgentXSearchRange

      public AgentXSearchRange(org.snmp4j.smi.OID lowerBound, boolean lowerIncluded, org.snmp4j.smi.OID upperBound, boolean upperIncluded, org.snmp4j.agent.request.SnmpRequest.SnmpSubRequest reference)
      Creates a AgentXSearchRange from its bounds and the reference to the original SNMP SnmpRequest.SnmpSubRequest.
      Parameters:
      lowerBound - lower bound of the search range.
      lowerIncluded - specifies if lower bound is included (true) or not (false).
      upperBound - upper bound of the search range.
      upperIncluded - specifies if upper bound is included (true) or not (false).
      reference - reference to the original SNMP SnmpRequest.SnmpSubRequest.
  • Method Details

    • getReferenceSubRequest

      public org.snmp4j.agent.request.SnmpRequest.SnmpSubRequest getReferenceSubRequest()
      Gets the reference to original SNMP SnmpRequest.SnmpSubRequest.
      Returns:
      a reference to the original sub-request.