dd.dht.api
Class DhtGetReq

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

public class DhtGetReq
extends KbrReq

DhtGetReq (local) request to retrieve all the objects with the specified identifier. (That is, many different types of an object can have the same identifier. The differentiator is the src and tag).

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

Field Summary
 SecureHash[] objguids
          Array of objguids to retrieve from DHT.
 boolean[] root
          Array indicating to retrieve from root (or nonroot) set
 
Fields inherited from class dd.kbr.api.KbrReq
appId, sink, userData
 
Constructor Summary
DhtGetReq(SecureHash[] o, boolean[] r, long a, Object u, SinkIF s)
          Constructor: Creates a new DhtGetReq.
DhtGetReq(SecureHash o, boolean r, long a, Object u, SinkIF s)
          Constructor: Creates a new DhtGetReq.
 
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

objguids

public SecureHash[] objguids
Array of objguids to retrieve from DHT.


root

public boolean[] root
Array indicating to retrieve from root (or nonroot) set

Constructor Detail

DhtGetReq

public DhtGetReq(SecureHash[] o,
                 boolean[] r,
                 long a,
                 Object u,
                 SinkIF s)
Constructor: Creates a new DhtGetReq.

Parameters:
o - objguids to retrieve from DHT
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

DhtGetReq

public DhtGetReq(SecureHash o,
                 boolean r,
                 long a,
                 Object u,
                 SinkIF s)
Constructor: Creates a new DhtGetReq.

Parameters:
o - objguid to retrieve from DHT
r - Flag 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