ostore.client
Class OSVPOnNode

java.lang.Object
  |
  +--ostore.client.OSVersionPredicate
        |
        +--ostore.client.OSVPOnNode
All Implemented Interfaces:
QuickSerializable

public class OSVPOnNode
extends OSVersionPredicate

The OSVPOnNode object is a version predicate that requests the most recent version of an object that is on node. No off-node traffic is created.

Version:
$Id: OSVPOnNode.java,v 1.7 2002/07/20 18:44:40 srhea Exp $
Author:
Patrick R. Eaton

Constructor Summary
OSVPOnNode()
          Creates a new OSVPOnNode version predicate.
OSVPOnNode(InputBuffer buffer)
           
 
Method Summary
 VersionPredicate compile()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
          Returns a String representation of this OSVersionPredicate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSVPOnNode

public OSVPOnNode()
Creates a new OSVPOnNode version predicate.


OSVPOnNode

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

toString

public String toString()
Description copied from class: OSVersionPredicate
Returns a String representation of this OSVersionPredicate.

Specified by:
toString in class OSVersionPredicate
Returns:
a String represenation of this OSVersionPredicate

compile

public VersionPredicate compile()
Overrides:
compile in class OSVersionPredicate