|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMasterAdapter
This interface should be implemented by the Master-Slave transport adapter. This interface is used by the Master to push suites and get results.
IWorkerApadter| Method Summary | |
|---|---|
void |
awaitTermination(long timeout)
A blocking wait for the remote results to return. |
void |
init(java.util.Properties prop)
Initializes the Master adapter. |
void |
runSuitesRemotely(XmlSuite suite,
RemoteResultListener listener)
Run a suite remotely. |
| Method Detail |
|---|
void init(java.util.Properties prop)
throws java.lang.Exception
properties - holds the properties loaded from the remote.properties file.
java.lang.Exception - adapter might throw any exception on initialization, which will abort this adapter.
void runSuitesRemotely(XmlSuite suite,
RemoteResultListener listener)
throws java.io.IOException
suite - the suite to send.listener - the corresponded listener, should be called when result is ready.
java.io.IOException - might be thrown on IO error.
void awaitTermination(long timeout)
throws java.lang.InterruptedException
timeout - the maximum time to wait for all the suites to return a result.
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||