ostore.tapestry.impl
Class PeriodicRoutePatch

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

public class PeriodicRoutePatch
extends NetworkMessage
implements QuickSerializable


Field Summary
static int REQUEST
           
static int RESPONSE
           
 HashSet set
           
 SecureHash srcguid
           
 int type
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, inbound, peer, sender, tries, user_data
 
Constructor Summary
PeriodicRoutePatch(InputBuffer buffer)
           
PeriodicRoutePatch(int type, NodeId peer, SecureHash srcguid, HashSet set)
           
 
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

REQUEST

public static final int REQUEST

RESPONSE

public static final int RESPONSE

type

public int type

srcguid

public SecureHash srcguid

set

public HashSet set
Constructor Detail

PeriodicRoutePatch

public PeriodicRoutePatch(int type,
                          NodeId peer,
                          SecureHash srcguid,
                          HashSet set)

PeriodicRoutePatch

public PeriodicRoutePatch(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