Files
mono/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http/HttpThread.cs
T
Lluis Sanchez eaac7d7745 * HttpChannel.cs, HttpClientChannel.cs, HttpHelper.cs, HttpServer.cs,
HttpServerChannel.cs, HttpThread.cs: added new implementation of the HttpChannel
	  by Ahmad Tantawy, Ahmad Kadry and Hussein Mehanna.

svn path=/trunk/mcs/; revision=15533
2003-06-21 12:49:23 +00:00

39 lines
710 B
C#

//
// 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);
}
}
}