ostore.replica
Class RemoteReplicaOpenResp

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

public class RemoteReplicaOpenResp
extends DDRouteMsg

Version:
$Id: RemoteReplicaOpenResp.java,v 1.14 2004/05/13 20:16:27 hweather Exp $
Author:
Patrick R. Eaton

Field Summary
 
Fields inherited from class dd.api.DDRouteMsg
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL
 
Constructor Summary
RemoteReplicaOpenResp(InputBuffer buffer)
           
RemoteReplicaOpenResp(RemoteReplicaOpenReq remote_open_req, SecureHash aguid, Heartbeat hb, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
           
RemoteReplicaOpenResp(RemoteReplicaOpenReq remote_open_req, SecureHash aguid, int error_code, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
           
RemoteReplicaOpenResp(RemoteReplicaProbe remote_probe, SecureHash aguid, Heartbeat hb, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
           
 
Method Summary
 int get_error_code()
           
 Heartbeat get_hb()
           
 SecureHash get_id()
           
 boolean get_success()
           
 SecureHash get_target()
           
 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

RemoteReplicaOpenResp

public RemoteReplicaOpenResp(RemoteReplicaOpenReq remote_open_req,
                             SecureHash aguid,
                             Heartbeat hb,
                             boolean recursive,
                             boolean dd_intermediate_upcall,
                             boolean one_hop)

RemoteReplicaOpenResp

public RemoteReplicaOpenResp(RemoteReplicaProbe remote_probe,
                             SecureHash aguid,
                             Heartbeat hb,
                             boolean recursive,
                             boolean dd_intermediate_upcall,
                             boolean one_hop)

RemoteReplicaOpenResp

public RemoteReplicaOpenResp(RemoteReplicaOpenReq remote_open_req,
                             SecureHash aguid,
                             int error_code,
                             boolean recursive,
                             boolean dd_intermediate_upcall,
                             boolean one_hop)

RemoteReplicaOpenResp

public RemoteReplicaOpenResp(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

get_id

public SecureHash get_id()

get_target

public SecureHash get_target()

get_success

public boolean get_success()

get_error_code

public int get_error_code()

get_hb

public Heartbeat get_hb()

toString

public String toString()
Overrides:
toString in class Object