|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWorkerAdapter
This interface should be implemented by the Master-Slave transport adapter. This interface is used by the Slave to pull suites and return results.
IMasterAdapter| Method Summary | |
|---|---|
XmlSuite |
getSuite(long timeout)
A blocking call to get the next Suite to test. |
void |
init(Properties properties)
Initializes the worker adapter. |
void |
returnResult(ISuite result)
Return a suite result. |
| Method Detail |
|---|
void init(Properties properties)
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.
XmlSuite getSuite(long timeout)
throws InterruptedException,
IOException
timeout - the maximum time to wait for the next suite.
null if the timeout has reached.
IOException - might be thrown on IO error.
InterruptedException - if interrupted while waiting.
void returnResult(ISuite result)
throws IOException
result - the result to return
IOException - might be thrown on IO error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||