bamboo.api
Class BambooRouteInit

java.lang.Object
  extended by bamboo.api.BambooRouteInit
All Implemented Interfaces:
QueueElementIF

public class BambooRouteInit
extends Object
implements QueueElementIF

Initiate a routing operation to dest. Place the message to be sent in payload. To receive the message, the node responsible for dest must have registered an application (see BambooRouterAppRegReq) with identifier app_id. If intermediate_upcall is true, a BambooRouteUpcall event will be sent to the application on each intermediate node in the path. To continue the routing operation, that node must send a BambooRouteContinue event. Finally, a BambooRouteDeliver event will be sent to the application once the message reaches the node responsible for app_id.

Version:
$Id: BambooRouteInit.java,v 1.1 2003/10/05 19:02:02 srhea Exp $
Author:
Sean C. Rhea

Field Summary
 long app_id
           
 BigInteger dest
           
 boolean intermediate_upcall
           
 boolean iter
           
 ostore.util.QuickSerializable payload
           
 
Constructor Summary
BambooRouteInit(BigInteger d, long a, boolean u, boolean i, ostore.util.QuickSerializable p)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dest

public BigInteger dest

app_id

public long app_id

intermediate_upcall

public boolean intermediate_upcall

iter

public boolean iter

payload

public ostore.util.QuickSerializable payload
Constructor Detail

BambooRouteInit

public BambooRouteInit(BigInteger d,
                       long a,
                       boolean u,
                       boolean i,
                       ostore.util.QuickSerializable p)
Method Detail

toString

public String toString()
Overrides:
toString in class Object