ostore.tapestry.impl
Class PingMsg

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

public class PingMsg
extends TapestryRouteMsg

Used to calculate the latency on backpointers, etc.

Version:
$Id: PingMsg.java,v 1.13 2002/08/18 22:39:41 srhea Exp $
Author:
Sean C. Rhea

Fields inherited from class ostore.tapestry.api.TapestryRouteMsg
hopCount, inbound, peer, qos, TTL
 
Constructor Summary
PingMsg(InputBuffer buffer)
           
PingMsg(SecureHash peer)
           
 
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
 

Constructor Detail

PingMsg

public PingMsg(SecureHash peer)

PingMsg

public PingMsg(InputBuffer buffer)
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.
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