org.snmp4j.agent.request
Class SnmpRequest.SnmpSubRequestIterator

java.lang.Object
  extended by org.snmp4j.agent.request.SnmpRequest.SnmpSubRequestIterator
All Implemented Interfaces:
java.util.Iterator, SubRequestIterator
Enclosing class:
SnmpRequest

public class SnmpRequest.SnmpSubRequestIterator
extends java.lang.Object
implements SubRequestIterator

Version:
1.0
Author:
Frank Fock

Constructor Summary
protected SnmpRequest.SnmpSubRequestIterator()
           
protected SnmpRequest.SnmpSubRequestIterator(int offset, int increment)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 boolean hasNext()
          hasNext
 java.lang.Object next()
           
 SubRequest nextSubRequest()
          Gets the next sub-request that is pending.
 void remove()
           
protected  void setNoAppending(boolean noAppending)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpRequest.SnmpSubRequestIterator

protected SnmpRequest.SnmpSubRequestIterator()

SnmpRequest.SnmpSubRequestIterator

protected SnmpRequest.SnmpSubRequestIterator(int offset,
                                             int increment)
Method Detail

setNoAppending

protected void setNoAppending(boolean noAppending)

hasNext

public boolean hasNext()
hasNext

Specified by:
hasNext in interface java.util.Iterator
Specified by:
hasNext in interface SubRequestIterator
Returns:
boolean

nextSubRequest

public SubRequest nextSubRequest()
Description copied from interface: SubRequestIterator
Gets the next sub-request that is pending.

Specified by:
nextSubRequest in interface SubRequestIterator
Returns:
an unprocessed SnmpSubRequest instance.

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 2005-2008 Frank Fock (SNMP4J.org)