ostore.client
Class OSCloseReplicaResult

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

public class OSCloseReplicaResult
extends OSResult

Version:
$Id: OSCloseReplicaResult.java,v 1.7 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
OSCloseReplicaResult(InputBuffer buffer)
           
 
Method Summary
 SecureHash getAguid()
          Returns the aguid of the replica that was closed.
 int getErrorCode()
          Returns the error code that describes why the request failed.
 boolean getSuccess()
          Returns whether the replica was successfully closed.
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 
Methods inherited from class ostore.client.OSResult
getAppId, getReqSeqNum, getUserTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSCloseReplicaResult

public OSCloseReplicaResult(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 closed.

Returns:
the aguid of the replica that was closed

getSuccess

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

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

getErrorCode

public int getErrorCode()
Returns the error code that describes why the request failed.

Returns:
the error code that describes why the request failed