public class DefaultMastertAdapter extends Object implements IMasterAdapter
| Constructor and Description |
|---|
DefaultMastertAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitTermination(long timeout)
A blocking wait for the remote results to return.
|
void |
init(Properties properties)
Initializes the Master adapter.
|
void |
runSuitesRemotely(XmlSuite suite,
RemoteResultListener listener)
Run a suite remotely.
|
public static final String HOSTS
public void init(Properties properties)
IMasterAdapterinit in interface IMasterAdapterpublic void runSuitesRemotely(XmlSuite suite, RemoteResultListener listener) throws IOException
IMasterAdapterrunSuitesRemotely in interface IMasterAdaptersuite - the suite to send.listener - the corresponded listener, should be called when result is ready.IOException - might be thrown on IO error.public void awaitTermination(long timeout)
throws InterruptedException
IMasterAdapterawaitTermination in interface IMasterAdaptertimeout - the maximum time to wait for all the suites to return a result.InterruptedExceptionCopyright © 2015. All Rights Reserved.