aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.GridServer/GridHttp.cs
diff options
context:
space:
mode:
authorlbsa712007-04-11 12:32:58 +0000
committerlbsa712007-04-11 12:32:58 +0000
commitc84ddd8b0d9f67926458f27d1f6d40c44ff8f355 (patch)
tree01a7d667b018f12a52028adf978f660a565f564b /OpenGridServices.GridServer/GridHttp.cs
parentadded missing files (diff)
downloadopensim-SC_OLD-c84ddd8b0d9f67926458f27d1f6d40c44ff8f355.zip
opensim-SC_OLD-c84ddd8b0d9f67926458f27d1f6d40c44ff8f355.tar.gz
opensim-SC_OLD-c84ddd8b0d9f67926458f27d1f6d40c44ff8f355.tar.bz2
opensim-SC_OLD-c84ddd8b0d9f67926458f27d1f6d40c44ff8f355.tar.xz
* Introduced BaseHttpServer as base for UserHTTPServer and GridHTTPServer
Diffstat (limited to '')
-rw-r--r--OpenGridServices.GridServer/GridHttp.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenGridServices.GridServer/GridHttp.cs b/OpenGridServices.GridServer/GridHttp.cs
index ed56b63..5f8bd56 100644
--- a/OpenGridServices.GridServer/GridHttp.cs
+++ b/OpenGridServices.GridServer/GridHttp.cs
@@ -40,14 +40,15 @@ using System.Collections.Generic;
40using libsecondlife; 40using libsecondlife;
41using OpenSim.Framework.Sims; 41using OpenSim.Framework.Sims;
42using OpenSim.Framework.Console; 42using OpenSim.Framework.Console;
43using OpenSim.Servers;
43 44
44namespace OpenGridServices.GridServer 45namespace OpenGridServices.GridServer
45{ 46{
46 public class GridHTTPServer { 47 public class GridHTTPServer : BaseHttpServer {
47 public Thread HTTPD; 48 public Thread HTTPD;
48 public HttpListener Listener; 49 public HttpListener Listener;
49 50
50 public GridHTTPServer() { 51 public GridHTTPServer() : base( 8001 ) {
51 MainConsole.Instance.WriteLine("Starting up HTTP Server"); 52 MainConsole.Instance.WriteLine("Starting up HTTP Server");
52 HTTPD = new Thread(new ThreadStart(StartHTTP)); 53 HTTPD = new Thread(new ThreadStart(StartHTTP));
53 HTTPD.Start(); 54 HTTPD.Start();