ostore.apps.test
Class TputMicroBenchmarkMessage

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.apps.test.TputMicroBenchmarkMessage
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable

public class TputMicroBenchmarkMessage
extends NetworkMessage
implements QuickSerializable

A small message class used to communicate between a TputMicroBenchmark stage and a TputMicroBenchmarkMaster stage.

Version:
$Id: TputMicroBenchmarkMessage.java,v 1.9 2002/08/03 00:51:53 eaton Exp $
Author:
Patrick R. Eaton

Field Summary
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
TputMicroBenchmarkMessage(InputBuffer buffer)
           
TputMicroBenchmarkMessage(NodeId dst, String msg)
           
TputMicroBenchmarkMessage(NodeId dst, String msg, StatRecorder stats)
           
 
Method Summary
 String getMessage()
           
 StatRecorder getStats()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class ostore.network.NetworkMessage
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TputMicroBenchmarkMessage

public TputMicroBenchmarkMessage(NodeId dst,
                                 String msg)

TputMicroBenchmarkMessage

public TputMicroBenchmarkMessage(NodeId dst,
                                 String msg,
                                 StatRecorder stats)

TputMicroBenchmarkMessage

public TputMicroBenchmarkMessage(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
Parameters:
buffer - the output buffer to add the object to

getMessage

public String getMessage()

getStats

public StatRecorder getStats()

toString

public String toString()
Overrides:
toString in class NetworkMessage