dd.dht.api
Class DhtIteratorStartReq

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

public class DhtIteratorStartReq
extends KbrReq

DhtIteratorStartReq requests the start of an iteration over the DHT root (or nonroot) set.

Version:
$Id: DhtIteratorStartReq.java,v 1.2 2004/04/15 16:15:06 hweather Exp $
Author:
Hakim Weatherspoon

Field Summary
 int maxReturn
          Max num entries for DhtIteratorNextResp
 boolean root
          Flag indicating to retrieve from root (or nonroot) set
 SecureHash start
          A starting position for the iteration (can be null).
 
Fields inherited from class dd.kbr.api.KbrReq
appId, sink, userData
 
Constructor Summary
DhtIteratorStartReq(int m, SecureHash st, boolean r, long a, Object u, SinkIF s)
          Constructor: Creates a new DhtIteratorStartReq.
 
Method Summary
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class dd.kbr.api.KbrReq
BUG
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

start

public SecureHash start
A starting position for the iteration (can be null). That is, all DhtIteratorNextResp's will return entries where the guid comes strictly after the start.


root

public boolean root
Flag indicating to retrieve from root (or nonroot) set


maxReturn

public int maxReturn
Max num entries for DhtIteratorNextResp

Constructor Detail

DhtIteratorStartReq

public DhtIteratorStartReq(int m,
                           SecureHash st,
                           boolean r,
                           long a,
                           Object u,
                           SinkIF s)
Constructor: Creates a new DhtIteratorStartReq.

Parameters:
m - Max num entries for DhtIteratorNextResp.
st - Starting position for iteration (can be null).
r - Array indicating to retrieve from root (or nonroot) set
a - Unique identifier for a destination application.
u - Requestor defined object to be returned in the resp.
s - Requestor sink to return resp
Method Detail

toString

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

Specified by:
toString in class KbrReq