org.mbari.siam.tests.linkBenchmark2.client
Class Benchmark2Test

java.lang.Object
  extended by org.mbari.siam.tests.linkBenchmark2.client.Benchmark2Test
Direct Known Subclasses:
RmiBenchmarkTest, SocketBenchmarkTest

public abstract class Benchmark2Test
extends java.lang.Object


Field Summary
protected static org.apache.log4j.Logger _log4j
          Log4j logger
protected static int MAX_PACKETS
          Maximum number of packets to transfer in a DevicePacketSet
 
Constructor Summary
Benchmark2Test()
           
 
Method Summary
protected  java.lang.String className()
           
 void parseCmdLine(java.lang.String[] args)
           
protected  void printUsage()
           
 void run(boolean zipIt)
           
 void runTest(boolean zipIt)
           
 int setLog(long deviceId, java.lang.String directory)
           
protected abstract  Benchmark2 setServer(java.lang.String serverName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PACKETS

protected static final int MAX_PACKETS
Maximum 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

Benchmark2Test

public Benchmark2Test()
Method Detail

className

protected java.lang.String className()

setServer

protected abstract Benchmark2 setServer(java.lang.String serverName)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

setLog

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

runTest

public void runTest(boolean zipIt)
             throws java.io.IOException
Throws:
java.io.IOException

run

public void run(boolean zipIt)
         throws java.io.IOException
Throws:
java.io.IOException

printUsage

protected void printUsage()

parseCmdLine

public void parseCmdLine(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.