diff options
Diffstat (limited to 'OpenGridServices.GridServer/GridHttp.cs')
-rw-r--r-- | OpenGridServices.GridServer/GridHttp.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenGridServices.GridServer/GridHttp.cs b/OpenGridServices.GridServer/GridHttp.cs index 496a3bc..758d761 100644 --- a/OpenGridServices.GridServer/GridHttp.cs +++ b/OpenGridServices.GridServer/GridHttp.cs | |||
@@ -37,23 +37,23 @@ using System.IO; | |||
37 | using System.Collections; | 37 | using System.Collections; |
38 | using System.Collections.Generic; | 38 | using System.Collections.Generic; |
39 | using libsecondlife; | 39 | using libsecondlife; |
40 | using ServerConsole; | ||
41 | using OpenSim.Framework.Sims; | 40 | using OpenSim.Framework.Sims; |
41 | using OpenSim.Framework.Console; | ||
42 | 42 | ||
43 | namespace OpenGridServices | 43 | namespace OpenGridServices.GridServer |
44 | { | 44 | { |
45 | public class GridHTTPServer { | 45 | public class GridHTTPServer { |
46 | public Thread HTTPD; | 46 | public Thread HTTPD; |
47 | public HttpListener Listener; | 47 | public HttpListener Listener; |
48 | 48 | ||
49 | public GridHTTPServer() { | 49 | public GridHTTPServer() { |
50 | ServerConsole.MainConsole.Instance.WriteLine("Starting up HTTP Server"); | 50 | MainConsole.Instance.WriteLine("Starting up HTTP Server"); |
51 | HTTPD = new Thread(new ThreadStart(StartHTTP)); | 51 | HTTPD = new Thread(new ThreadStart(StartHTTP)); |
52 | HTTPD.Start(); | 52 | HTTPD.Start(); |
53 | } | 53 | } |
54 | 54 | ||
55 | public void StartHTTP() { | 55 | public void StartHTTP() { |
56 | ServerConsole.MainConsole.Instance.WriteLine("GridHttp.cs:StartHTTP() - Spawned main thread OK"); | 56 | MainConsole.Instance.WriteLine("GridHttp.cs:StartHTTP() - Spawned main thread OK"); |
57 | Listener = new HttpListener(); | 57 | Listener = new HttpListener(); |
58 | 58 | ||
59 | Listener.Prefixes.Add("http://+:8001/gridserver/"); | 59 | Listener.Prefixes.Add("http://+:8001/gridserver/"); |