ostore.dataobj
Class ArchiveOutputBuffer

java.lang.Object
  |
  +--ostore.util.OutputBufferImpl
        |
        +--ostore.dataobj.ArchiveOutputBuffer
All Implemented Interfaces:
OutputBuffer

public class ArchiveOutputBuffer
extends OutputBufferImpl

This class is temporary. Do not use.

Version:
$Id: ArchiveOutputBuffer.java,v 1.4 2002/07/25 06:03:19 eaton Exp $
Author:
Patrick R. Eaton (ganked from Sean C. Rhea's NetworkBuffer class)

Constructor Summary
ArchiveOutputBuffer()
           
 
Method Summary
 void add(byte input)
          Adds the specified byte to the digest.
 void add(byte[] input, int offset, int length)
          Adds length bytes of the specified array to the digest, starting at offset.
 void enqueue(ATcpConnection conn)
           
 void overwrite(int offset, int value)
           
 int size()
           
 byte[] toBytes()
           
 String toString()
           
 
Methods inherited from class ostore.util.OutputBufferImpl
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArchiveOutputBuffer

public ArchiveOutputBuffer()
Method Detail

size

public int size()

add

public void add(byte input)
Description copied from class: OutputBufferImpl
Adds the specified byte to the digest.

Specified by:
add in interface OutputBuffer
Specified by:
add in class OutputBufferImpl

add

public void add(byte[] input,
                int offset,
                int length)
Description copied from class: OutputBufferImpl
Adds length bytes of the specified array to the digest, starting at offset.

Specified by:
add in interface OutputBuffer
Specified by:
add in class OutputBufferImpl

overwrite

public void overwrite(int offset,
                      int value)

enqueue

public void enqueue(ATcpConnection conn)
             throws SinkException
SinkException

toString

public String toString()
Overrides:
toString in class Object

toBytes

public byte[] toBytes()