/*
 * class: ByteBufferReader
 *
 * Version $Id: ByteBufferReader.txt,v 1.1 2004/01/30 23:20:27 mka Exp $
 *
 * Date: May 30 2003
 *
 * (c) 2003 IceCube Collaboration
 */

package icecube.testdaq.tools;

import icecube.testdaq.domrawrecord.DomRawRecord;

import java.nio.ByteBuffer;

/**
 * This class ...does what?
 *
 * @version $Id: ByteBufferReader.txt,v 1.1 2004/01/30 23:20:27 mka Exp $
 * @author mka
 */
public class ByteBufferReader implements Runnable
{

    // public static final member data

    // protected static final member data

    // static final member data

    // private static final member data

    // private static member data
    Thread runner = null;

    // private instance member data

    // constructors

    /**
     * Create an instance of this class.
     * Default constructor is declared, but private, to stop accidental
     * creation of an instance of the class.
     */
    private ByteBufferReader()
    {
    }

    protected ByteBufferReader (DomRawRecord domRawRecord,
                                ByteBuffer byteBuffer) {

        if (runner == null) {
            runner = new Thread( this );
            runner.start();
        }
    }

    public void run() {


    }

    // instance member method (alphabetic)

    // static member methods (alphabetic)

    // Description of this object.
    // public String toString() {}

    // public static void main(String args[]) {}
}
