ostore.util
Class QueueElementReqIF

java.lang.Object
  |
  +--ostore.util.QueueElementReqIF
All Implemented Interfaces:
QueueElementIF

public abstract class QueueElementReqIF
extends Object
implements QueueElementIF

QueueElementReqIF is a superclass request event that has a logical and well defined response.

Version:
$Id: QueueElementReqIF.java,v 1.1 2004/03/23 08:21:52 hweather Exp $
Author:
Hakim Weatherspoon
See Also:
QueueElementRespIF, QueueElementIF

Field Summary
 SinkIF sink
          Requestor sink to return resp.
 Object userData
          Requestor defined object to be returned in the resp.
 
Constructor Summary
QueueElementReqIF(Object u, SinkIF s)
          Constructor: Creates a new QueueElementReqIF.
 
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

userData

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


sink

public SinkIF sink
Requestor sink to return resp.

Constructor Detail

QueueElementReqIF

public QueueElementReqIF(Object u,
                         SinkIF s)
Constructor: Creates a new QueueElementReqIF.

Parameters:
u - Requestor defined object to be returned in the resp.
s - Requestor sink to return 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.