Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*     */ package org.apache.log4j.varia;
 /*     */ 
 /*     */ import java.net.ServerSocket;
 /*     */ import java.net.Socket;
 /*     */ import org.apache.log4j.helpers.LogLog;
 /*     */ 
 /*     */ class HUP extends Thread
 /*     */ {
 /*     */   int port;
/*     */   ExternallyRolledFileAppender er;
/*     */ 
/*     */   HUP(ExternallyRolledFileAppender erint port)
/*     */   {
/* 111 */     this. = er;
/* 112 */     this. = port;
/*     */   }
/*     */ 
/*     */   public void run()
/*     */   {
/* 117 */     while (!isInterrupted())
/*     */       try {
/* 119 */         ServerSocket serverSocket = new ServerSocket(this.);
/*     */         while (true) {
/* 121 */           Socket socket = serverSocket.accept();
/* 122 */           LogLog.debug("Connected to client at " + socket.getInetAddress());
/* 123 */           new Thread(new HUPNode(socketthis.)).start();
/*     */         }
/*     */       }
/*     */       catch (Exception e) {
/* 127 */         e.printStackTrace();
/*     */       }
/*     */   }
/*     */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     org.apache.log4j.varia.HUP
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X