org.snmp4j.agent.agentx.subagent
Class AgentXRequest.AgentXSubRequestIterator
java.lang.Object
org.snmp4j.agent.agentx.subagent.AgentXRequest.AgentXSubRequestIterator
- All Implemented Interfaces:
- java.util.Iterator, org.snmp4j.agent.request.SubRequestIterator
- Enclosing class:
- AgentXRequest
public class AgentXRequest.AgentXSubRequestIterator
- extends java.lang.Object
- implements org.snmp4j.agent.request.SubRequestIterator
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:
- 1.0
- Author:
- Frank Fock
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AgentXRequest.AgentXSubRequestIterator
protected AgentXRequest.AgentXSubRequestIterator()
AgentXRequest.AgentXSubRequestIterator
protected AgentXRequest.AgentXSubRequestIterator(int offset,
int increment)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator- Specified by:
hasNext in interface org.snmp4j.agent.request.SubRequestIterator
nextSubRequest
public org.snmp4j.agent.request.SubRequest nextSubRequest()
- Specified by:
nextSubRequest in interface org.snmp4j.agent.request.SubRequestIterator
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next in interface java.util.Iterator
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2011 SNMP4J.org. All Rights Reserved.