dd.kbr.api
Class KbrRouteDeliver

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

public class KbrRouteDeliver
extends Object
implements QueueElementIF

KbrRouteDeliver is sent when a routing operation reaches the node responsible for dest. See the comments from KbrRouteInit for more information.

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

Field Summary
 long appId
          Unique identifier for a destination application.
 SecureHash dest
          Unique identifier of src and dest node.
 long est_rtt_ms
          Specified by ostore.network.NetworkMessage
 NodeId immediate_src
          The NodeId of the last node this msg came through.
 QuickSerializable payload
          Message to deliver to destination node.
 SecureHash src
          Unique identifier of src and dest node.
 int tries
          Specified by ostore.network.NetworkMessage
 long wait_ms
          Specified by ostore.network.NetworkMessage
 
Constructor Summary
KbrRouteDeliver(SecureHash s, SecureHash d, NodeId i, long a, int att, long w, long e, QuickSerializable p)
          Constructor: Creates a new KbrRouteUpcall.
 
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.


tries

public int tries
Specified by ostore.network.NetworkMessage


wait_ms

public long wait_ms
Specified by ostore.network.NetworkMessage


est_rtt_ms

public long est_rtt_ms
Specified by ostore.network.NetworkMessage


payload

public QuickSerializable payload
Message to deliver to destination node.

Constructor Detail

KbrRouteDeliver

public KbrRouteDeliver(SecureHash s,
                       SecureHash d,
                       NodeId i,
                       long a,
                       int att,
                       long w,
                       long e,
                       QuickSerializable p)
Constructor: Creates a new KbrRouteUpcall.

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.
att - Specified by ostore.network.NetworkMessage#tries
w - Specified by ostore.network.NetworkMessage#wait_ms
e - Specified by ostore.network.NetworkMessage#est_rtt_ms
p - Message to deliver to destination node.
Method Detail

toString

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

Overrides:
toString in class Object