demo.dynamic
Class TestFoundMsg

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--demo.dynamic.TestFoundMsg
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable

public class TestFoundMsg
extends NetworkMessage

The msg to say we found the object you're looking for

Version:
$Id: TestFoundMsg.java,v 1.1 2004/05/03 09:03:28 hweather Exp $
Author:
Ben Y. Zhao

Field Summary
 SecureHash id
           
 SecureHash objGuid
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
TestFoundMsg(InputBuffer buffer)
          Constructs a TestFoundMsg from its serialized form.
TestFoundMsg(NodeId src, SecureHash oguid)
          Constructor: Creates a new TestFoundMsg.
TestFoundMsg(NodeId src, SecureHash oguid, SecureHash id)
          Constructor: Creates a new TestFoundMsg.
 
Method Summary
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.QuickSerializable
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class ostore.network.NetworkMessage
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objGuid

public SecureHash objGuid

id

public SecureHash id
Constructor Detail

TestFoundMsg

public TestFoundMsg(NodeId src,
                    SecureHash oguid)
Constructor: Creates a new TestFoundMsg.


TestFoundMsg

public TestFoundMsg(NodeId src,
                    SecureHash oguid,
                    SecureHash id)
Constructor: Creates a new TestFoundMsg.


TestFoundMsg

public TestFoundMsg(InputBuffer buffer)
             throws QSException
Constructs a TestFoundMsg from its serialized form.

Parameters:
buffer - serialized form of object.
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable

Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class NetworkMessage

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class NetworkMessage