ostore.tapestry.impl
Class DynamicObjReqMsg

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

public class DynamicObjReqMsg
extends NetworkMessage
implements QuickSerializable


Field Summary
static int CONFIRM
           
 int msgtype
           
 SecureHash obj
           
static int REQUEST
           
 SecureHash src
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, inbound, peer, sender, tries, user_data
 
Constructor Summary
DynamicObjReqMsg(InputBuffer buffer)
           
DynamicObjReqMsg(NodeId peer, SecureHash src, SecureHash obj, int msgtype)
           
 
Method Summary
 Object clone()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

src

public SecureHash src

msgtype

public int msgtype

obj

public SecureHash obj

REQUEST

public static final int REQUEST

CONFIRM

public static final int CONFIRM
Constructor Detail

DynamicObjReqMsg

public DynamicObjReqMsg(NodeId peer,
                        SecureHash src,
                        SecureHash obj,
                        int msgtype)

DynamicObjReqMsg

public DynamicObjReqMsg(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 NetworkMessage
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 NetworkMessage

toString

public String toString()
Overrides:
toString in class NetworkMessage