|
||||||||||
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.
IWorkerAdapter
Method Summary | |
---|---|
void |
awaitTermination(long timeout)
A blocking wait for the remote results to return. |
void |
init(Properties prop)
Initializes the Master adapter. |
void |
runSuitesRemotely(XmlSuite suite,
RemoteResultListener listener)
Run a suite remotely. |
Method Detail |
---|
void init(Properties prop) throws Exception
properties
- holds the properties loaded from the remote.properties file.
Exception
- adapter might throw any exception on initialization, which will abort this adapter.void runSuitesRemotely(XmlSuite suite, RemoteResultListener listener) throws IOException
suite
- the suite to send.listener
- the corresponded listener, should be called when result is ready.
IOException
- might be thrown on IO error.void awaitTermination(long timeout) throws InterruptedException
timeout
- the maximum time to wait for all the suites to return a result.
InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |