ostore.replica
Class RemoteReplicaUpdateReception

java.lang.Object
  |
  +--dd.api.DDRouteMsg
        |
        +--ostore.replica.RemoteReplicaUpdateReception
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class RemoteReplicaUpdateReception
extends DDRouteMsg

Response to a remote replica that issued a request to update an object(s) tentatively at this replica. This is sent immediately after we have received and deserialized the request.

Version:
$Id: RemoteReplicaUpdateReception.java,v 1.2 2004/05/13 20:16:27 hweather Exp $
Author:
Jeff Pang

Field Summary
 
Fields inherited from class dd.api.DDRouteMsg
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL
 
Constructor Summary
RemoteReplicaUpdateReception(InputBuffer buffer)
           
RemoteReplicaUpdateReception(SecureHash peer, ReplicaUpdateReq req, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
           
 
Method Summary
 SecureHash req_digest()
           
 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

RemoteReplicaUpdateReception

public RemoteReplicaUpdateReception(SecureHash peer,
                                    ReplicaUpdateReq req,
                                    boolean recursive,
                                    boolean dd_intermediate_upcall,
                                    boolean one_hop)
Parameters:
peer - the guid to route to
req - the ReplicaUpdateReq this is a reply to

RemoteReplicaUpdateReception

public RemoteReplicaUpdateReception(InputBuffer buffer)
                             throws QSException
Method Detail

req_digest

public final SecureHash req_digest()

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

toString

public String toString()
Overrides:
toString in class Object