tapestry.ptr.impl.dht
Class DhtResp

java.lang.Object
  |
  +--tapestry.ptr.impl.dht.DhtResp
All Implemented Interfaces:
QueueElementIF
Direct Known Subclasses:
DhtGetResp, DhtIteratorNextResp, DhtPutResp, DhtRemoveResp

public abstract class DhtResp
extends Object
implements QueueElementIF

DhtResp is an abstract class for all DHT response.

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

Field Summary
 long appId
          Unique identifier for a destination application.
 Object userData
          Requestor defined object to be returned in the resp.
 
Constructor Summary
DhtResp(long a, Object u)
          Constructor: Creates a new DhtResp.
 
Method Summary
protected  void BUG(String msg)
          BUG outputs a fatal error msg, then terminates the proces.
abstract  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

appId

public long appId
Unique identifier for a destination application.


userData

public Object userData
Requestor defined object to be returned in the resp.

Constructor Detail

DhtResp

public DhtResp(long a,
               Object u)
Constructor: Creates a new DhtResp.

Parameters:
a - Unique identifier for a destination application.
u - Requestor defined object to be returned in the resp.
Method Detail

toString

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

Overrides:
toString in class Object

BUG

protected void BUG(String msg)
BUG outputs a fatal error msg, then terminates the proces.