org.mbari.siam.tests.linkBenchmark2.compression
Class CompressionTest

java.lang.Object
  extended by org.mbari.siam.tests.linkBenchmark2.compression.CompressionTest

public class CompressionTest
extends java.lang.Object


Field Summary
protected static org.apache.log4j.Logger _log4j
          Log4j logger
protected static int DFLT_PACKETS
          Default number of packets to transfer in a DevicePacketSet
 
Constructor Summary
CompressionTest()
           
 
Method Summary
 DevicePacketSet getPackets(long startKey, long endKey, int maxEntries)
           
static void main(java.lang.String[] args)
           
protected  void parseCmdLine(java.lang.String[] args)
           
protected  void printUsage()
           
 void runTest()
           
 int setDeviceLog(long sensorId, java.lang.String directory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DFLT_PACKETS

protected static final int DFLT_PACKETS
Default number of packets to transfer in a DevicePacketSet

See Also:
Constant Field Values

_log4j

protected static org.apache.log4j.Logger _log4j
Log4j logger

Constructor Detail

CompressionTest

public CompressionTest()
Method Detail

setDeviceLog

public int setDeviceLog(long sensorId,
                        java.lang.String directory)
                 throws java.io.IOException,
                        java.io.FileNotFoundException
Throws:
java.io.IOException
java.io.FileNotFoundException

getPackets

public DevicePacketSet getPackets(long startKey,
                                  long endKey,
                                  int maxEntries)
                           throws NoDataException
Throws:
NoDataException

runTest

public void runTest()
             throws NoDataException,
                    java.io.FileNotFoundException,
                    java.lang.SecurityException,
                    java.io.IOException,
                    java.lang.ClassNotFoundException,
                    java.util.zip.DataFormatException
Throws:
NoDataException
java.io.FileNotFoundException
java.lang.SecurityException
java.io.IOException
java.lang.ClassNotFoundException
java.util.zip.DataFormatException

printUsage

protected void printUsage()

parseCmdLine

protected void parseCmdLine(java.lang.String[] args)

main

public static void main(java.lang.String[] args)


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.