ostore.tapestry.impl
Class TestReadyMsg

java.lang.Object
  |
  +--ostore.tapestry.api.TapestryRouteMsg
        |
        +--ostore.tapestry.impl.TestReadyMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class TestReadyMsg
extends TapestryRouteMsg
implements QuickSerializable

A generic test message routed through the Tapestry network. Used in various tests, including the FullTest suite.

Version:
$Id: TestReadyMsg.java,v 1.13 2003/04/28 21:57:24 hling Exp $
Author:
Ben Y. Zhao

Field Summary
 String comment
           
 double failure
           
 SecureHash id
           
 boolean request
           
 int seq
           
 SecureHash src
           
 
Fields inherited from class ostore.tapestry.api.TapestryRouteMsg
hopCount, inbound, peer, qos, TTL
 
Constructor Summary
TestReadyMsg(InputBuffer buffer)
           
TestReadyMsg(SecureHash dest_guid, SecureHash src, SecureHash id, boolean request)
           
TestReadyMsg(SecureHash dest_guid, SecureHash src, SecureHash id, double failure, boolean request)
           
TestReadyMsg(SecureHash dest_guid, SecureHash src, SecureHash id, int seq, boolean request)
           
 
Method Summary
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

request

public boolean request

failure

public double failure

src

public SecureHash src

id

public SecureHash id

seq

public int seq

comment

public String comment
Constructor Detail

TestReadyMsg

public TestReadyMsg(SecureHash dest_guid,
                    SecureHash src,
                    SecureHash id,
                    boolean request)

TestReadyMsg

public TestReadyMsg(SecureHash dest_guid,
                    SecureHash src,
                    SecureHash id,
                    int seq,
                    boolean request)

TestReadyMsg

public TestReadyMsg(SecureHash dest_guid,
                    SecureHash src,
                    SecureHash id,
                    double failure,
                    boolean request)

TestReadyMsg

public TestReadyMsg(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 TapestryRouteMsg
Following copied from interface: ostore.util.QuickSerializable
Parameters:
buffer - the output buffer to add the object to

toString

public String toString()
Overrides:
toString in class Object