aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.UserServer/UserHttp.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenGridServices.UserServer/UserHttp.cs')
-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 "";