ostore.client
Class OSOpenReplicaResult

java.lang.Object
  |
  +--ostore.client.OSResult
        |
        +--ostore.client.OSOpenReplicaResult
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class OSOpenReplicaResult
extends OSResult

Version:
$Id: OSOpenReplicaResult.java,v 1.16 2002/07/20 19:38:01 srhea Exp $
Author:
Patrick R. Eaton

Field Summary
 
Fields inherited from class ostore.client.OSResult
app_id
 
Constructor Summary
OSOpenReplicaResult(InputBuffer buffer)
           
 
Method Summary
 SecureHash getAguid()
          Returns the aguid of the replica that was opened.
 boolean getSuccess()
          Returns whether the replica was successfully opened.
 VID getVersionId()
          Returns the most recent heartbeat available for the replica.
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class ostore.client.OSResult
getAppId, getReqSeqNum, getUserTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSOpenReplicaResult

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

getAguid

public SecureHash getAguid()
Returns the aguid of the replica that was opened.

Returns:
the aguid of the replica that was opened

getSuccess

public boolean getSuccess()
Returns whether the replica was successfully opened.

Returns:
true if the replica was successfully opened; false otherwise

getVersionId

public VID getVersionId()
Returns the most recent heartbeat available for the replica.

Returns:
the most recent heartbeat available for the replica

toString

public String toString()
Overrides:
toString in class Object