ostore.replica
Class RemoteReplicaCloseAllReq

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

public class RemoteReplicaCloseAllReq
extends DDRouteMsg

HACK: Send a ReplicaCloseAll request to a remote replica

Version:
$Id: RemoteReplicaCloseAllReq.java,v 1.3 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
RemoteReplicaCloseAllReq(InputBuffer buffer)
           
RemoteReplicaCloseAllReq(SecureHash peer, int ttl, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
           
 
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

RemoteReplicaCloseAllReq

public RemoteReplicaCloseAllReq(SecureHash peer,
                                int ttl,
                                boolean recursive,
                                boolean dd_intermediate_upcall,
                                boolean one_hop)
Parameters:
peer - the guid to route toward
ttl - the max number of hops to go before stopping

RemoteReplicaCloseAllReq

public RemoteReplicaCloseAllReq(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
Overrides:
serialize in class DDRouteMsg
Parameters:
buffer - the output buffer to add the object to

toString

public String toString()
Overrides:
toString in class Object