dd.kbr.api
Class KbrRouteContinue

java.lang.Object
  |
  +--dd.kbr.api.KbrRouteContinue
All Implemented Interfaces:
QueueElementIF

public class KbrRouteContinue
extends Object
implements QueueElementIF

KbrRouteContinue continues a routing operation after an upcall. See the comments from KbrRouteInit for more information.

Version:
$Id: KbrRouteContinue.java,v 1.1.1.1 2004/04/06 00:09:56 hweather Exp $
Author:
Hakim Weatherspoon
See Also:
KbrRouteInit, KbrRouteUpcall, KbrRouteDeliver

Field Summary
 long appId
          Unique identifier for a destination application.
 SecureHash dest
          Unique identifier of src and dest node.
 NodeId immediate_src
          The NodeId of the last node this msg came through.
 boolean intermediate_upcall
          Flag indicating that the message should be sent to the application on each intermediate node along the path.
 boolean iter
          Flag indicating whether the messages should be routed iteratively or recursively.
 QuickSerializable payload
          Message to deliver to destination node.
 SecureHash src
          Unique identifier of src and dest node.
 
Constructor Summary
KbrRouteContinue(KbrRouteUpcall upcall, QuickSerializable p)
          Constructor: Creates a new KbrRouteContinue.
KbrRouteContinue(SecureHash s, SecureHash d, NodeId i, long a, boolean u, boolean it, QuickSerializable p)
          Constructor: Creates a new KbrRouteContinue.
 
Method Summary
 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

src

public SecureHash src
Unique identifier of src and dest node.


dest

public SecureHash dest
Unique identifier of src and dest node.


immediate_src

public NodeId immediate_src
The NodeId of the last node this msg came through.


appId

public long appId
Unique identifier for a destination application. Analogous to the function of a port as a unique application identifier when sending an IP:port packet.


intermediate_upcall

public boolean intermediate_upcall
Flag indicating that the message should be sent to the application on each intermediate node along the path.


iter

public boolean iter
Flag indicating whether the messages should be routed iteratively or recursively. (See KbrRouteInit.iter for more comments.


payload

public QuickSerializable payload
Message to deliver to destination node.

Constructor Detail

KbrRouteContinue

public KbrRouteContinue(KbrRouteUpcall upcall,
                        QuickSerializable p)
Constructor: Creates a new KbrRouteContinue.

Parameters:
upcall - KbrRouteUpcall.
p - Message to deliver to destination node.

KbrRouteContinue

public KbrRouteContinue(SecureHash s,
                        SecureHash d,
                        NodeId i,
                        long a,
                        boolean u,
                        boolean it,
                        QuickSerializable p)
Constructor: Creates a new KbrRouteContinue.

Parameters:
s - Unique identifier of src node.
d - Unique identifier of dest node.
i - NodeId of the last node this msg came thru.
a - Unique identifier for a destination application.
it - Flag indicating whether the messages should be routed iteratively or recursively.
p - Message to deliver to destination node.
Method Detail

toString

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

Overrides:
toString in class Object