bamboo.router
Class JoinReq

java.lang.Object
  extended by ostore.network.NetworkMessage
      extended by bamboo.router.JoinReq
All Implemented Interfaces:
Cloneable, ostore.util.QuickSerializable, QueueElementIF

public class JoinReq
extends ostore.network.NetworkMessage

JoinReq.

Version:
$Id: JoinReq.java,v 1.7 2005/03/02 03:25:45 srhea Exp $
Author:
Sean C. Rhea

Field Summary
 BigInteger guid
           
 ostore.util.NodeId node_id
           
 LinkedList<NeighborInfo> path
           
 int rev_ttl
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, timeout_sec, user_data, wait_ms
 
Constructor Summary
JoinReq(ostore.util.InputBuffer buffer)
           
JoinReq(ostore.util.NodeId dest, ostore.util.NodeId n, BigInteger g, int r)
           
 
Method Summary
 Object clone()
           
 void serialize(ostore.util.OutputBuffer buffer)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

node_id

public ostore.util.NodeId node_id

guid

public BigInteger guid

rev_ttl

public int rev_ttl

path

public LinkedList<NeighborInfo> path
Constructor Detail

JoinReq

public JoinReq(ostore.util.NodeId dest,
               ostore.util.NodeId n,
               BigInteger g,
               int r)

JoinReq

public JoinReq(ostore.util.InputBuffer buffer)
        throws ostore.util.QSException
Throws:
ostore.util.QSException
Method Detail

serialize

public void serialize(ostore.util.OutputBuffer buffer)
Specified by:
serialize in interface ostore.util.QuickSerializable
Overrides:
serialize in class ostore.network.NetworkMessage

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class ostore.network.NetworkMessage
Throws:
CloneNotSupportedException

toString

public String toString()
Overrides:
toString in class ostore.network.NetworkMessage