ostore.tapestry.impl
Class DynamicDMCastMsg

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.util.NonceAckMsg
              |
              +--ostore.util.NonceMsg
                    |
                    +--ostore.tapestry.impl.DynamicDMCastMsg
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable

public class DynamicDMCastMsg
extends NonceMsg
implements QuickSerializable

Message used by a new node to do directed multicast to all nodes sharing a common suffix.


Field Summary
 int alpha
           
 boolean fromLock
           
 NodeId newAddr
           
 SecureHash newGuid
           
 SecureHash src
           
 NodeId srcAddr
           
 WatchList watchlist
           
 
Fields inherited from class ostore.util.NonceAckMsg
stage_id
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, inbound, peer, sender, tries, user_data
 
Constructor Summary
DynamicDMCastMsg(InputBuffer buffer)
           
DynamicDMCastMsg(NodeId peer, SecureHash src, NodeId srcAddr, SecureHash newGuid, NodeId newAddr, WatchList watchlist, int alpha, boolean lock)
           
 
Method Summary
 Object clone()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class ostore.util.NonceMsg
getNonce, setNonce
 
Methods inherited from class ostore.util.NonceAckMsg
addNonceAck, getNonceAcks, getStageId, setStageId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

src

public SecureHash src

srcAddr

public NodeId srcAddr

newGuid

public SecureHash newGuid

newAddr

public NodeId newAddr

watchlist

public WatchList watchlist

alpha

public int alpha

fromLock

public boolean fromLock
Constructor Detail

DynamicDMCastMsg

public DynamicDMCastMsg(NodeId peer,
                        SecureHash src,
                        NodeId srcAddr,
                        SecureHash newGuid,
                        NodeId newAddr,
                        WatchList watchlist,
                        int alpha,
                        boolean lock)

DynamicDMCastMsg

public DynamicDMCastMsg(InputBuffer buffer)
                 throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.
Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class NonceMsg
Following copied from interface: ostore.util.QuickSerializable
Parameters:
buffer - the output buffer to add the object to

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class NonceAckMsg

toString

public String toString()
Overrides:
toString in class NonceMsg