diff options
author | lbsa71 | 2007-04-11 12:32:58 +0000 |
---|---|---|
committer | lbsa71 | 2007-04-11 12:32:58 +0000 |
commit | c84ddd8b0d9f67926458f27d1f6d40c44ff8f355 (patch) | |
tree | 01a7d667b018f12a52028adf978f660a565f564b /OpenGridServices.GridServer/GridHttp.cs | |
parent | added missing files (diff) | |
download | opensim-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.cs | 5 |
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; | |||
40 | using libsecondlife; | 40 | using libsecondlife; |
41 | using OpenSim.Framework.Sims; | 41 | using OpenSim.Framework.Sims; |
42 | using OpenSim.Framework.Console; | 42 | using OpenSim.Framework.Console; |
43 | using OpenSim.Servers; | ||
43 | 44 | ||
44 | namespace OpenGridServices.GridServer | 45 | namespace 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(); |