org.snmp4j.agent.request
Class SnmpRequest.SnmpSubRequestIterator

java.lang.Object
  extended by org.snmp4j.agent.request.SnmpRequest.SnmpSubRequestIterator
All Implemented Interfaces:
java.util.Iterator<SubRequest>, 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
 SubRequest next()
          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<SubRequest>
Specified by:
hasNext in interface SubRequestIterator
Returns:
boolean

next

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

Specified by:
next in interface java.util.Iterator<SubRequest>
Specified by:
next in interface SubRequestIterator
Returns:
an unprocessed SubRequest instance.

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<SubRequest>

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

Copyright © 2011 SNMP4J.org. All Rights Reserved.