Class AgentXRequest.AgentXSubRequestIterator

java.lang.Object
org.snmp4j.agent.agentx.subagent.AgentXRequest.AgentXSubRequestIterator
All Implemented Interfaces:
Iterator<AgentXRequest.AgentXSubRequest>, org.snmp4j.agent.request.SubRequestIterator<AgentXRequest.AgentXSubRequest>
Enclosing class:
AgentXRequest

public class AgentXRequest.AgentXSubRequestIterator extends Object implements org.snmp4j.agent.request.SubRequestIterator<AgentXRequest.AgentXSubRequest>
The AgentXSubRequestIterator iterates over the subrequests in a AgentX request. In case of bulk operations, it also may physically append new sub-request instances while iterating, until the bulk operations limits are reached.
Version:
3.0.0
Author:
Frank Fock
  • Constructor Details

    • AgentXSubRequestIterator

      protected AgentXSubRequestIterator()
      Creates a sub-request iterator that iterates over all sub-requests starting at the first one with an increment of one.
    • AgentXSubRequestIterator

      protected AgentXSubRequestIterator(int offset, int increment)
      Creates a sub-request iterator that starts at the given offset and advances by the given increment on each step.
      Parameters:
      offset - the zero-based index of the first sub-request to return.
      increment - the number of sub-requests to advance on each iteration step.
  • Method Details