set the thread name

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3174 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-04-19 06:08:32 +00:00
1 parent 18d81b5917
commit 6cc15627a1
1 file changed
+1
@@ -57,6 +57,7 @@ public class TcpSlaveAgentListener extends Thread {
* Use 0 to choose a random port.
*/
public TcpSlaveAgentListener(int port) throws IOException {
super("TCP slave agent listener port="+port);
serverSocket = new ServerSocket(port);
this.configuredPort = port;