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