Ejemplo n.º 1
0
 public static void NewRequest(RequestHandler handler)
 {
     try
     {
         var handlerThread = new Thread(handler.Run);
         handlerThread.Start();
     }
     catch (Exception e)
     {
         Logger.Fatal("Network failure: " + e.Message);
     }
 }
Ejemplo n.º 2
0
 protected abstract RequestHandler CreateFromList(ISocketWrapper socket, RequestHandler.HttpHeader header, GdlList list);