ostore.dtree
Class RemoteCacheReplyMessage

java.lang.Object
  |
  +--ostore.dtree.RemoteCacheReplyMessage
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class RemoteCacheReplyMessage
extends Object
implements QueueElementIF, QuickSerializable

The RemoteCacheReplyMessage is a message sent by the cache in repsonse to a RemoteCacheReplyMessage. The cache providing the response should create a reply message and send it down the dissemination tree via the DTreeNode. Upon receiving such a message the cache that requested the block should insert the block into the cache and reply to the stage that initiated the request that resulted in the RemoteCacheRequestMessage.

Version:
$Id: RemoteCacheReplyMessage.java,v 1.13 2003/01/08 06:00:33 hweather Exp $
Author:
Patrick R. Eaton

Constructor Summary
RemoteCacheReplyMessage(InputBuffer buffer)
           
RemoteCacheReplyMessage(VID vid, Cacheable block)
           
 
Method Summary
 Cacheable getBlock()
           
 VID getVid()
           
 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

RemoteCacheReplyMessage

public RemoteCacheReplyMessage(VID vid,
                               Cacheable block)

RemoteCacheReplyMessage

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

getVid

public VID getVid()

getBlock

public Cacheable getBlock()

toString

public String toString()
Overrides:
toString in class Object