Class MyExecutor extends Executor {
public static void main(String[] args) throws ClassNotFoundException {
// Init the singleton SocketClient to your remote hostCommandHandlerch=newCommandHandler();SocketClient.getInstance(Utils.EXECUTOR_NAME_STR,ch).setDestIpAddress("remotehost");// lets the Executor does his standard jobExecutor.main(args);
}
}
/ untested! /
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Is it possible to connect (init) genie server running on another computer on the network? I am trying for distributed execution of my test scripts.
Thanks
~Jayanth
import com.adobe.genie.executor.Executor;
import com.adobe.genie.executor.CommandHandler;
import com.adobe.genie.genieCom.SocketClient;
import com.adobe.genie.utils.Utils;
Class MyExecutor extends Executor {
public static void main(String[] args) throws ClassNotFoundException {
}
}
/ untested! /