tapestry.ptr.api
Class HostIteratorNextResp

java.lang.Object
  |
  +--tapestry.ptr.api.HostIteratorNextResp
All Implemented Interfaces:
QueueElementIF

public class HostIteratorNextResp
extends Object
implements QueueElementIF

HostIteratorNextResp returns the next block of hosts of an iteration from the PtrMgr stage, as requested by a preceding HostIteratorNextReq or a HostIteratorStartReq.

Version:
$Id: HostIteratorNextResp.java,v 1.1.1.1 2004/03/26 19:57:10 hweather Exp $
Author:
Hakim Weatherspoon

Field Summary
 HostInfo[] hinfos
          Array of HostInfo's returned from the PtrMgr stage.
 boolean isMore
          isMore is a flag similar in functionality to Iterator.hasNext().
 Object iteratorID
          Opaque iteration object used to make the HostIterator{Start,NextReq,NextResp,Stop} look like an Iterator.
 Object userData
          Requestor defined object placed in the request and returned in the GetHostResp.
 
Constructor Summary
HostIteratorNextResp(HostInfo[] hinfos, boolean isMore, Object iteratorID, Object userData)
          Constructor: Creates a new HostIteratorNextResp.
 
Method Summary
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hinfos

public HostInfo[] hinfos
Array of HostInfo's returned from the PtrMgr stage.


isMore

public boolean isMore
isMore is a flag similar in functionality to Iterator.hasNext(). That is, the iteration has more objects left to be retreived.


iteratorID

public Object iteratorID
Opaque iteration object used to make the HostIterator{Start,NextReq,NextResp,Stop} look like an Iterator.


userData

public Object userData
Requestor defined object placed in the request and returned in the GetHostResp.

Constructor Detail

HostIteratorNextResp

public HostIteratorNextResp(HostInfo[] hinfos,
                            boolean isMore,
                            Object iteratorID,
                            Object userData)
Constructor: Creates a new HostIteratorNextResp.

Method Detail

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class Object