dd.dht.api
Class DhtIteratorNextResp

java.lang.Object
  |
  +--dd.kbr.api.KbrResp
        |
        +--dd.dht.api.DhtIteratorNextResp
All Implemented Interfaces:
QueueElementIF

public class DhtIteratorNextResp
extends KbrResp

DhtIteratorNextResp returns the next block of objects of an iteration from the DHT as requested by a preceding DhtIteratorNextReq or a DhtIteratorStartReq.

Version:
$Id: DhtIteratorNextResp.java,v 1.1.1.1 2004/04/06 00:09:56 hweather Exp $
Author:
Hakim Weatherspoon

Field Summary
 boolean isMore
          Flag indicating that more objects can be retrieved.
 Object iteratorID
          Opaque token to keep track of an iteration.
 SecureHash[] objguids
          Array of objguids retrieved from DHT.
 LinkedList[] pinfos
          Array of PublishInfos retrieved from DHT.
 
Fields inherited from class dd.kbr.api.KbrResp
appId, userData
 
Constructor Summary
DhtIteratorNextResp(SecureHash[] o, LinkedList[] p, boolean m, Object i, long a, Object u)
          Constructor: Creates a new DhtIteratorNextResp.
 
Method Summary
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class dd.kbr.api.KbrResp
BUG
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objguids

public SecureHash[] objguids
Array of objguids retrieved from DHT.


pinfos

public LinkedList[] pinfos
Array of PublishInfos retrieved from DHT.


isMore

public boolean isMore
Flag indicating that more objects can be retrieved.


iteratorID

public Object iteratorID
Opaque token to keep track of an iteration.

Constructor Detail

DhtIteratorNextResp

public DhtIteratorNextResp(SecureHash[] o,
                           LinkedList[] p,
                           boolean m,
                           Object i,
                           long a,
                           Object u)
Constructor: Creates a new DhtIteratorNextResp.

Parameters:
o - objguids retrieved from DHT
p - PublishInfos retrieved from DHT
m - Flag indicating that more objects can be retrieved.
i - Opaque token to keep track of an iteration.
a - Unique identifier for a destination application.
u - Requestor defined object to be returned in the resp.
Method Detail

toString

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

Specified by:
toString in class KbrResp