ostore.client
Class OSCloseReplicaRequest

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

public class OSCloseReplicaRequest
extends OSRequest

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

Field Summary
 
Fields inherited from class ostore.client.OSRequest
app_id
 
Constructor Summary
OSCloseReplicaRequest(InputBuffer buffer)
           
OSCloseReplicaRequest(OSAppId app_id, SecureHash aguid)
          Create a new OSCloseReplicaRequest for an object of the given aguid.
 
Method Summary
 SecureHash getAguid()
           
 String getRequestType()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 
Methods inherited from class ostore.client.OSRequest
clone, getAppId, getDispatchTime, getSeqNum, getUserTag, setUserTag
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSCloseReplicaRequest

public OSCloseReplicaRequest(OSAppId app_id,
                             SecureHash aguid)
Create a new OSCloseReplicaRequest for an object of the given aguid.

Parameters:
app_id - the OSAppId to identify the requesting application
aguid - the aguid of the object for which to close a replica

OSCloseReplicaRequest

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

getAguid

public SecureHash getAguid()

getRequestType

public String getRequestType()
Overrides:
getRequestType in class OSRequest