| 1234567891011121314151617181920212223242526272829303132333435363738 |
- //
- // System.Runtime.Remoting.Channels.Http.HttpThread
- //
- // Authors:
- // Ahmad Tantawy ([email protected])
- // Ahmad Kadry ([email protected])
- // Hussein Mehanna ([email protected])
- //
- // (C) 2003 Ximian, Inc.
- //
- using System;
- using System.Threading;
- namespace System.Runtime.Remoting.Channels.Http
- {
- internal class HttpThread
- {
- RequestArguments reqArg;
- public HttpThread(object Object)
- {
- if(Object as RequestArguments == null)
- return;
- reqArg = (RequestArguments)Object;
- Thread proc = new Thread(new ThreadStart(ProcessRequest));
- proc.IsBackground = true;
- proc.Start();
- }
- private void ProcessRequest()
- {
- HttpServer.ProcessRequest(reqArg);
- }
- }
- }
|