dods.servers.test
Class testEngine

java.lang.Object
  extended bydods.servers.test.testEngine

public class testEngine
extends java.lang.Object

Used by the test server to reset the server output for each new client request.

Version:
$Revision: 1.7 $
Author:
ndp
See Also:
BaseType

Constructor Summary
testEngine()
          Constructs a new testFlags.
testEngine(ServerDDS s)
           
 
Method Summary
 void loadTestGrid(java.lang.String datasetName, test_SDGrid tg)
          Loads test Grids full of data
 void loadTestList(java.lang.String datasetName, test_SDList tl)
          Loads test Lists full of data
 void newLoadTestArray(java.lang.String datasetName, test_SDArray ta)
          Loads test Arrays full of data
 boolean nextBool()
           
 byte nextByte()
           
 float nextFloat32()
           
 double nextFloat64()
           
 short nextInt16()
           
 int nextInt32()
           
 java.lang.String nextString()
           
 short nextUint16()
           
 int nextUint32()
           
 java.lang.String nextURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

testEngine

public testEngine()
Constructs a new testFlags.


testEngine

public testEngine(ServerDDS s)
Method Detail

nextBool

public boolean nextBool()

nextByte

public byte nextByte()

nextFloat32

public float nextFloat32()

nextFloat64

public double nextFloat64()

nextUint16

public short nextUint16()

nextInt16

public short nextInt16()

nextUint32

public int nextUint32()

nextInt32

public int nextInt32()

nextURL

public java.lang.String nextURL()

nextString

public java.lang.String nextString()

newLoadTestArray

public void newLoadTestArray(java.lang.String datasetName,
                             test_SDArray ta)
                      throws java.io.IOException,
                             java.io.EOFException
Loads test Arrays full of data

Throws:
java.io.IOException
java.io.EOFException

loadTestList

public void loadTestList(java.lang.String datasetName,
                         test_SDList tl)
                  throws NoSuchVariableException,
                         java.io.IOException,
                         java.io.EOFException
Loads test Lists full of data

Throws:
NoSuchVariableException
java.io.IOException
java.io.EOFException

loadTestGrid

public void loadTestGrid(java.lang.String datasetName,
                         test_SDGrid tg)
                  throws NoSuchVariableException,
                         java.io.IOException,
                         java.io.EOFException
Loads test Grids full of data

Throws:
NoSuchVariableException
java.io.IOException
java.io.EOFException