aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.GridServer/GridHttp.cs
diff options
context:
space:
mode:
authorlbsa712007-04-11 14:14:19 +0000
committerlbsa712007-04-11 14:14:19 +0000
commit08d5d10d62df2c1c418e7a39cadb6662ea66b228 (patch)
tree19ac712ff6cc51f0563bc99767fc4331061214a8 /OpenGridServices.GridServer/GridHttp.cs
parentdeleted OpenSim.Terrain.BasicTerrain.dll from the bin folder, don't think the... (diff)
downloadopensim-SC-08d5d10d62df2c1c418e7a39cadb6662ea66b228.zip
opensim-SC-08d5d10d62df2c1c418e7a39cadb6662ea66b228.tar.gz
opensim-SC-08d5d10d62df2c1c418e7a39cadb6662ea66b228.tar.bz2
opensim-SC-08d5d10d62df2c1c418e7a39cadb6662ea66b228.tar.xz
* Started on converting UserHTTPServer to BaseHttpServer
* Added a 'param' param to the RestMethod * Added RestHandlerEntry to store more info about the 'rest' handler
Diffstat (limited to 'OpenGridServices.GridServer/GridHttp.cs')
-rw-r--r--OpenGridServices.GridServer/GridHttp.cs13
1 files changed, 9 insertions, 4 deletions
diff --git a/OpenGridServices.GridServer/GridHttp.cs b/OpenGridServices.GridServer/GridHttp.cs
index 5f8bd56..9e9246d 100644
--- a/OpenGridServices.GridServer/GridHttp.cs
+++ b/OpenGridServices.GridServer/GridHttp.cs
@@ -49,12 +49,17 @@ namespace OpenGridServices.GridServer
49 public HttpListener Listener; 49 public HttpListener Listener;
50 50
51 public GridHTTPServer() : base( 8001 ) { 51 public GridHTTPServer() : base( 8001 ) {
52 MainConsole.Instance.WriteLine("Starting up HTTP Server"); 52 Start();
53 HTTPD = new Thread(new ThreadStart(StartHTTP));
54 HTTPD.Start();
55 } 53 }
56 54
57 public void StartHTTP() { 55 public void Start()
56 {
57 MainConsole.Instance.WriteLine("Starting up HTTP Server");
58 HTTPD = new Thread(new ThreadStart(StartHTTP));
59 HTTPD.Start();
60 }
61
62 public void StartHTTP() {
58 MainConsole.Instance.WriteLine("GridHttp.cs:StartHTTP() - Spawned main thread OK"); 63 MainConsole.Instance.WriteLine("GridHttp.cs:StartHTTP() - Spawned main thread OK");
59 Listener = new HttpListener(); 64 Listener = new HttpListener();
60 65