aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/GridServer/Main.cs
diff options
context:
space:
mode:
authormingchen2007-07-03 17:03:14 +0000
committermingchen2007-07-03 17:03:14 +0000
commite06ffb3981d29ddb3383690b4a05dc684813b6d9 (patch)
tree5f8fcfe04d949007462689572988dfcc687d5ceb /OpenSim/Grid/GridServer/Main.cs
parent*Renamed OGS1 XmlRpcLoginToSimulatorMethod to the more appropriate XmlRpcSimu... (diff)
downloadopensim-SC-e06ffb3981d29ddb3383690b4a05dc684813b6d9.zip
opensim-SC-e06ffb3981d29ddb3383690b4a05dc684813b6d9.tar.gz
opensim-SC-e06ffb3981d29ddb3383690b4a05dc684813b6d9.tar.bz2
opensim-SC-e06ffb3981d29ddb3383690b4a05dc684813b6d9.tar.xz
*Removed GridInfo class as it has been previously replaced with the much better NetworkServersInfo class
*Got the GridServer in OGS1 to go through with registering the region, but the actual storage of the region isnt working right now. **After this is fixed, grid mode should work!
Diffstat (limited to 'OpenSim/Grid/GridServer/Main.cs')
-rw-r--r--OpenSim/Grid/GridServer/Main.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Grid/GridServer/Main.cs b/OpenSim/Grid/GridServer/Main.cs
index 509549e..404c252 100644
--- a/OpenSim/Grid/GridServer/Main.cs
+++ b/OpenSim/Grid/GridServer/Main.cs
@@ -76,10 +76,11 @@ namespace OpenSim.Grid.GridServer
76 76
77 private void Work() 77 private void Work()
78 { 78 {
79 m_console.Notice("Enter help for a list of commands\n");
80
79 while (true) 81 while (true)
80 { 82 {
81 Thread.Sleep(5000); 83 m_console.MainLogPrompt();
82 // should flush the DB etc here
83 } 84 }
84 } 85 }
85 86
@@ -120,7 +121,7 @@ namespace OpenSim.Grid.GridServer
120 m_gridManager.config = Cfg; 121 m_gridManager.config = Cfg;
121 122
122 m_console.Verbose( "Main.cs:Startup() - Starting HTTP process"); 123 m_console.Verbose( "Main.cs:Startup() - Starting HTTP process");
123 BaseHttpServer httpServer = new BaseHttpServer(8001); 124 BaseHttpServer httpServer = new BaseHttpServer(13801);
124 //GridManagementAgent GridManagerAgent = new GridManagementAgent(httpServer, "gridserver", Cfg.SimSendKey, Cfg.SimRecvKey, managercallback); 125 //GridManagementAgent GridManagerAgent = new GridManagementAgent(httpServer, "gridserver", Cfg.SimSendKey, Cfg.SimRecvKey, managercallback);
125 126
126 httpServer.AddXmlRPCHandler("simulator_login", m_gridManager.XmlRpcSimulatorLoginMethod); 127 httpServer.AddXmlRPCHandler("simulator_login", m_gridManager.XmlRpcSimulatorLoginMethod);
@@ -142,9 +143,9 @@ namespace OpenSim.Grid.GridServer
142 //break; 143 //break;
143 144
144 // lbsa71 : I guess these were never used? 145 // lbsa71 : I guess these were never used?
145 //Listener.Prefixes.Add("http://+:8001/gods/"); 146 //Listener.Prefixes.Add("http://+:13801/gods/");
146 //Listener.Prefixes.Add("http://+:8001/highestuuid/"); 147 //Listener.Prefixes.Add("http://+:13801/highestuuid/");
147 //Listener.Prefixes.Add("http://+:8001/uuidblocks/"); 148 //Listener.Prefixes.Add("http://+:13801/uuidblocks/");
148 149
149 httpServer.Start(); 150 httpServer.Start();
150 151