X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/reporthandling/ConnectionListener.java b/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/reporthandling/ConnectionListener.java index 7e5b74f..012a65d 100644 --- a/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/reporthandling/ConnectionListener.java +++ b/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/reporthandling/ConnectionListener.java @@ -6,8 +6,6 @@ * *************************************************************************/ - - package net.sourceforge.phpeclipse.phpunit.reporthandling; import java.net.ServerSocket; @@ -15,25 +13,25 @@ import java.net.Socket; import net.sourceforge.phpeclipse.phpunit.PHPUnitView; - public class ConnectionListener extends Thread { private ServerSocket sSocket = null; + private Socket serviceSocket = null; + private PHPUnitView view; - - + public void start(PHPUnitView view) { - + this.view = view; super.start(); } - + public void run() { try { - //reportArea.append("listening at port 12345"); + // reportArea.append("listening at port 12345"); sSocket = new ServerSocket(12345); @@ -53,7 +51,7 @@ public class ConnectionListener extends Thread { } // end of run() public static void main(String[] args) { - + (new ConnectionListener()).start(new PHPUnitView()); }