ostore.client
Class OSVIDRequest

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

public class OSVIDRequest
extends OSRequest

Version:
$Id: OSVIDRequest.java,v 1.10 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
OSVIDRequest(InputBuffer buffer)
           
OSVIDRequest(OSAppId app_id, SecureHash target, OSVersionPredicate ver_pred)
          Creates a new OSVIDRequest request.
 
Method Summary
 SecureHash getTarget()
           
 OSVersionPredicate getVersionPredicate()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

OSVIDRequest

public OSVIDRequest(OSAppId app_id,
                    SecureHash target,
                    OSVersionPredicate ver_pred)
Creates a new OSVIDRequest request.

Parameters:
app_id - the OSAppId to identify the requesting application
target - the aguid of the object from which to read
ver_pred - the version predicate to specify version constraints

OSVIDRequest

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

getTarget

public SecureHash getTarget()

getVersionPredicate

public OSVersionPredicate getVersionPredicate()

toString

public String toString()
Overrides:
toString in class Object