ostore.util
Class VerifiableBlockTag

java.lang.Object
  |
  +--ostore.util.VerifiableBlockTag
All Implemented Interfaces:
QuickSerializable, TapestryTag

public class VerifiableBlockTag
extends Object
implements TapestryTag

The Tapestry tag published by object replicas (second-tier and clients). who have a cached copy of a VerifiableBlock

Version:
$Id: VerifiableBlockTag.java,v 1.1 2001/10/10 07:19:06 hweather Exp $
Author:
Hakim Weatherspoon
See Also:
VerifiableBlock

Constructor Summary
VerifiableBlockTag()
          Creates a new VerifiableBlockTag.
VerifiableBlockTag(byte[] data, int[] offset)
          Creates a new VerifiableBlockTag from its QuickSerializable form.
 
Method Summary
 void to_bytes(byte[] data, int[] offset)
          Specified by ostore.util.QuickSerializable
 int type_code()
          Specified by ostore.util.QuickSerializable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifiableBlockTag

public VerifiableBlockTag()
Creates a new VerifiableBlockTag.

VerifiableBlockTag

public VerifiableBlockTag(byte[] data,
                          int[] offset)
Creates a new VerifiableBlockTag from its QuickSerializable form.
Method Detail

to_bytes

public void to_bytes(byte[] data,
                     int[] offset)
Specified by ostore.util.QuickSerializable
Specified by:
to_bytes in interface QuickSerializable
Following copied from interface: ostore.util.QuickSerializable
Parameters:
data - The byte array to store into, or null.
offset - A single element array whose first element is the index in data to begin writing at on function entry, and which on function exit has been incremented by the number of bytes written.

type_code

public int type_code()
Specified by ostore.util.QuickSerializable
Specified by:
type_code in interface QuickSerializable
Following copied from interface: ostore.util.QuickSerializable
Returns:
an integer unique to this class