bamboo.vivaldi
Class VivaldiRequestVC

java.lang.Object
  extended by bamboo.vivaldi.VivaldiRequestVC
All Implemented Interfaces:
QueueElementIF

public class VivaldiRequestVC
extends Object
implements QueueElementIF

Requests the current virtual coordinate for the local node. Other stages may use this to query the Vivaldi stage.

A VivaldiReplyVC will be sent to the specified sink in response.

Version:
$Id: VivaldiRequestVC.java,v 1.1 2004/03/04 21:22:20 czerwin Exp $
Author:
Steven Czerwinski

Field Summary
 SinkIF comp_q
          The sink to send the resulting VivaldiReplyVC to.
 Object user_data
          A callback object to include with the reply.
 
Constructor Summary
VivaldiRequestVC(SinkIF completion_queue, Object user_data)
          Constructs the request.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comp_q

public SinkIF comp_q
The sink to send the resulting VivaldiReplyVC to.


user_data

public Object user_data
A callback object to include with the reply.

Constructor Detail

VivaldiRequestVC

public VivaldiRequestVC(SinkIF completion_queue,
                        Object user_data)
Constructs the request.

Parameters:
completion_queue - The sink on which to publish the result.
user_data - A user-specified object to include in the result.