AntlrWorkerClient clientCallBack = new AntlrWorkerClient();
process.getConnection().addIncoming(AntlrWorkerClientProtocol.class, clientCallBack);
process.getConnection().connect();
process.waitForStop();
return clientCallBack.getResult();
}
private WorkerProcess createWorkerProcess(File workingDir, Factory<WorkerProcessBuilder> workerFactory, FileCollection antlrClasspath, AntlrSpec spec) {