|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread edu.sdsc.inca.ConsumerTest.MockDepot
public static class ConsumerTest.MockDepot
Functionality of mock depot server. Recognizes GETSUITE and PING.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
boolean |
isReady
|
int |
statusHistoryDelay
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ConsumerTest.MockDepot(int numConnections,
int port)
Create a new mock depot. |
Method Summary | |
---|---|
void |
addSuite(java.lang.String name,
java.lang.String[] xml,
int retTime)
Add a suite to the mock depot. |
void |
deleteSuite(java.lang.String name)
Remove a suite to the mock depot. |
void |
run()
Functionality of mock depot server. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean isReady
public int statusHistoryDelay
Constructor Detail |
---|
public ConsumerTest.MockDepot(int numConnections, int port)
numConnections
- The number of connections we expect to receive.port
- The port to start the mock depot on.Method Detail |
---|
public void addSuite(java.lang.String name, java.lang.String[] xml, int retTime)
name
- The name of the suitexml
- An array of results to use as the suite contentsretTime
- How long to wait before returning the results.public void deleteSuite(java.lang.String name)
name
- The name of the suite to deletepublic void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |