/** * Start listening to a test run. Start a server connection that * the RemoteTestRunner can connect to. * * @param listeners listeners to inform * @param port port on which the server socket will be opened */ public synchronized void startListening(ITestRunListener2[] listeners, int port) { fListeners= listeners; fPort= port; ServerConnection connection= new ServerConnection(port); connection.start(); }
/** * Start listening to a test run. Start a server connection that * the RemoteTestRunner can connect to. * * @param listeners listeners to inform * @param port port on which the server socket will be opened */ public synchronized void startListening(ITestRunListener2[] listeners, int port) { fListeners= listeners; fPort= port; ServerConnection connection= new ServerConnection(port); connection.start(); }