aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.UserServer/UserHttp.cs
diff options
context:
space:
mode:
authorlbsa712007-03-27 08:10:15 +0000
committerlbsa712007-03-27 08:10:15 +0000
commita4fc6b5fbba7fd9a7b147b11a0d1c3ded1834d54 (patch)
tree560961306b9d80636d8ec976c05fcb8b54304f33 /OpenGridServices.UserServer/UserHttp.cs
parentHeightfield needs fixing, or i'll re-implement it (probably actually the coll... (diff)
downloadopensim-SC-a4fc6b5fbba7fd9a7b147b11a0d1c3ded1834d54.zip
opensim-SC-a4fc6b5fbba7fd9a7b147b11a0d1c3ded1834d54.tar.gz
opensim-SC-a4fc6b5fbba7fd9a7b147b11a0d1c3ded1834d54.tar.bz2
opensim-SC-a4fc6b5fbba7fd9a7b147b11a0d1c3ded1834d54.tar.xz
* Now there's one Console class, and instead the apps responds to cmd's and show's
* Removed Golden Future TCP/SimChat options * Moved Ode.NET.dll to bin and changed prebuild accordingly (due to Prebuild limitations) * Normalized some namespaces * Added FxCop project * Added (temp disabled) Servers project (for great justice)
Diffstat (limited to '')
-rw-r--r--OpenGridServices.UserServer/UserHttp.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/OpenGridServices.UserServer/UserHttp.cs b/OpenGridServices.UserServer/UserHttp.cs
index ce3cfcd..4dc2358 100644
--- a/OpenGridServices.UserServer/UserHttp.cs
+++ b/OpenGridServices.UserServer/UserHttp.cs
@@ -37,25 +37,25 @@ using System.IO;
37using System.Collections; 37using System.Collections;
38using System.Collections.Generic; 38using System.Collections.Generic;
39using libsecondlife; 39using libsecondlife;
40using ServerConsole;
41using OpenSim.Framework.User; 40using OpenSim.Framework.User;
42using OpenSim.Framework.Sims; 41using OpenSim.Framework.Sims;
43using OpenSim.Framework.Inventory; 42using OpenSim.Framework.Inventory;
43using OpenSim.Framework.Console;
44 44
45namespace OpenGridServices 45namespace OpenGridServices.UserServer
46{ 46{
47 public class UserHTTPServer { 47 public class UserHTTPServer {
48 public Thread HTTPD; 48 public Thread HTTPD;
49 public HttpListener Listener; 49 public HttpListener Listener;
50 50
51 public UserHTTPServer() { 51 public UserHTTPServer() {
52 ServerConsole.MainConsole.Instance.WriteLine("Starting up HTTP Server"); 52 MainConsole.Instance.WriteLine("Starting up HTTP Server");
53 HTTPD = new Thread(new ThreadStart(StartHTTP)); 53 HTTPD = new Thread(new ThreadStart(StartHTTP));
54 HTTPD.Start(); 54 HTTPD.Start();
55 } 55 }
56 56
57 public void StartHTTP() { 57 public void StartHTTP() {
58 ServerConsole.MainConsole.Instance.WriteLine("UserHttp.cs:StartHTTP() - Spawned main thread OK"); 58 MainConsole.Instance.WriteLine("UserHttp.cs:StartHTTP() - Spawned main thread OK");
59 Listener = new HttpListener(); 59 Listener = new HttpListener();
60 60
61 Listener.Prefixes.Add("http://+:8002/userserver/"); 61 Listener.Prefixes.Add("http://+:8002/userserver/");
@@ -70,7 +70,7 @@ namespace OpenGridServices
70 } 70 }
71 71
72 static string ParseXMLRPC(string requestBody) { 72 static string ParseXMLRPC(string requestBody) {
73 return OpenGridServices.OpenUser_Main.userserver._profilemanager.ParseXMLRPC(requestBody); 73 return OpenUser_Main.userserver._profilemanager.ParseXMLRPC(requestBody);
74 } 74 }
75 75
76 static string ParseREST(HttpListenerRequest www_req) { 76 static string ParseREST(HttpListenerRequest www_req) {
@@ -93,7 +93,6 @@ namespace OpenGridServices
93 93
94 } 94 }
95 return "OK"; 95 return "OK";
96 break;
97 } 96 }
98 97
99 return ""; 98 return "";