ostore.dtree
Class RemoteCacheRequestMessage
java.lang.Object
|
+--ostore.dtree.RemoteCacheRequestMessage
- All Implemented Interfaces:
- QueueElementIF, QuickSerializable
- public class RemoteCacheRequestMessage
- extends Object
- implements QueueElementIF, QuickSerializable
The RemoteCacheRequestMessage
is a message sent by
the cache to request a block known only by its vhash. The
message is sent via the DTreeNode
to the parent node
in the dissemination tree. The DTreeNode
on the
remote machine unpacks the message and dispatches it to the
MemoryCache
on the remote node. That cache may
respond to the request by sending a
RemoteCacheReplyMessage
back down the dissemination
tree or may propagate the request up to its parent in the
dissemination tree.
- Version:
- $Id: RemoteCacheRequestMessage.java,v 1.12 2003/01/08 06:00:33 hweather Exp $
- Author:
- Patrick R. Eaton
RemoteCacheRequestMessage
public RemoteCacheRequestMessage(SecureHash dtree_id,
VID vid)
RemoteCacheRequestMessage
public RemoteCacheRequestMessage(InputBuffer buffer)
throws QSException
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
getDtreeId
public SecureHash getDtreeId()
getVid
public VID getVid()
toString
public String toString()
- Overrides:
toString
in class Object