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.UserServer/UserHttp.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.UserServer/UserHttp.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenGridServices.UserServer/UserHttp.cs b/OpenGridServices.UserServer/UserHttp.cs index 6fe7fc1..e1385f7 100644 --- a/OpenGridServices.UserServer/UserHttp.cs +++ b/OpenGridServices.UserServer/UserHttp.cs | |||
@@ -41,15 +41,16 @@ using OpenSim.Framework.User; | |||
41 | using OpenSim.Framework.Sims; | 41 | using OpenSim.Framework.Sims; |
42 | using OpenSim.Framework.Inventory; | 42 | using OpenSim.Framework.Inventory; |
43 | using OpenSim.Framework.Console; | 43 | using OpenSim.Framework.Console; |
44 | using OpenSim.Servers; | ||
44 | 45 | ||
45 | namespace OpenGridServices.UserServer | 46 | namespace OpenGridServices.UserServer |
46 | { | 47 | { |
47 | public class UserHTTPServer | 48 | public class UserHTTPServer : BaseHttpServer |
48 | { | 49 | { |
49 | public Thread HTTPD; | 50 | public Thread HTTPD; |
50 | public HttpListener Listener; | 51 | public HttpListener Listener; |
51 | 52 | ||
52 | public UserHTTPServer() | 53 | public UserHTTPServer() : base( 8002 ) |
53 | { | 54 | { |
54 | MainConsole.Instance.WriteLine("Starting up HTTP Server"); | 55 | MainConsole.Instance.WriteLine("Starting up HTTP Server"); |
55 | HTTPD = new Thread(new ThreadStart(StartHTTP)); | 56 | HTTPD = new Thread(new ThreadStart(StartHTTP)); |