Package org.snmp4j.agent.agentx.master
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
ConstructorsConstructorDescriptionAgentXSearchRange(org.snmp4j.smi.OID lowerBound, boolean lowerIncluded, org.snmp4j.smi.OID upperBound, boolean upperIncluded, org.snmp4j.agent.request.SnmpRequest.SnmpSubRequest reference) Creates aAgentXSearchRangefrom its bounds and the reference to the original SNMPSnmpRequest.SnmpSubRequest. -
Method Summary
Modifier and TypeMethodDescriptionorg.snmp4j.agent.request.SnmpRequest.SnmpSubRequestGets the reference to original SNMPSnmpRequest.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
-
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 aAgentXSearchRangefrom its bounds and the reference to the original SNMPSnmpRequest.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 SNMPSnmpRequest.SnmpSubRequest.
-
-
Method Details
-
getReferenceSubRequest
public org.snmp4j.agent.request.SnmpRequest.SnmpSubRequest getReferenceSubRequest()Gets the reference to original SNMPSnmpRequest.SnmpSubRequest.- Returns:
- a reference to the original sub-request.
-