diff options
author | lbsa71 | 2007-09-27 13:25:45 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-27 13:25:45 +0000 |
commit | 8143c597fc5f62ec0d931d2d5b887730e06aec04 (patch) | |
tree | ae67873a5f801b2b7bdf9a7b088db98beb97b5ac /OpenSim/Grid/UserServer/Main.cs | |
parent | Terrain: (diff) | |
download | opensim-SC-8143c597fc5f62ec0d931d2d5b887730e06aec04.zip opensim-SC-8143c597fc5f62ec0d931d2d5b887730e06aec04.tar.gz opensim-SC-8143c597fc5f62ec0d931d2d5b887730e06aec04.tar.bz2 opensim-SC-8143c597fc5f62ec0d931d2d5b887730e06aec04.tar.xz |
* Tleiades grid mode inventory (#444) - thanx Tleiades!
* updated to rev 1413 on libsecondlife.dll and libsecondlife.dll.config (#423)
Diffstat (limited to 'OpenSim/Grid/UserServer/Main.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index c2822b6..28635dd 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -36,6 +36,8 @@ using OpenSim.Framework.Interfaces; | |||
36 | using OpenSim.Framework.Servers; | 36 | using OpenSim.Framework.Servers; |
37 | using OpenSim.Framework.Utilities; | 37 | using OpenSim.Framework.Utilities; |
38 | using OpenSim.Framework.Configuration; | 38 | using OpenSim.Framework.Configuration; |
39 | using OpenSim.Framework.Communications; | ||
40 | using OpenSim.Region.Communications.OGS1; | ||
39 | 41 | ||
40 | namespace OpenSim.Grid.UserServer | 42 | namespace OpenSim.Grid.UserServer |
41 | { | 43 | { |
@@ -48,6 +50,8 @@ namespace OpenSim.Grid.UserServer | |||
48 | public UserManager m_userManager; | 50 | public UserManager m_userManager; |
49 | public UserLoginService m_loginService; | 51 | public UserLoginService m_loginService; |
50 | 52 | ||
53 | public IInventoryServices m_inventoryService; | ||
54 | |||
51 | LogBase m_console; | 55 | LogBase m_console; |
52 | 56 | ||
53 | [STAThread] | 57 | [STAThread] |
@@ -90,7 +94,11 @@ namespace OpenSim.Grid.UserServer | |||
90 | m_userManager._config = Cfg; | 94 | m_userManager._config = Cfg; |
91 | m_userManager.AddPlugin(Cfg.DatabaseProvider); | 95 | m_userManager.AddPlugin(Cfg.DatabaseProvider); |
92 | 96 | ||
93 | m_loginService = new UserLoginService(m_userManager, Cfg, Cfg.DefaultStartupMsg); | 97 | // prepare connection to the inventory server |
98 | m_inventoryService = new OGS1InventoryService(Cfg.InventoryServerName, Cfg.InventoryServerPort, null); | ||
99 | |||
100 | |||
101 | m_loginService = new UserLoginService(m_userManager, m_inventoryService, Cfg, Cfg.DefaultStartupMsg); | ||
94 | 102 | ||
95 | MainLog.Instance.Verbose("Main.cs:Startup() - Starting HTTP process"); | 103 | MainLog.Instance.Verbose("Main.cs:Startup() - Starting HTTP process"); |
96 | BaseHttpServer httpServer = new BaseHttpServer((int)Cfg.HttpPort); | 104 | BaseHttpServer httpServer = new BaseHttpServer((int)Cfg.HttpPort); |
@@ -103,6 +111,7 @@ namespace OpenSim.Grid.UserServer | |||
103 | httpServer.AddStreamHandler( new RestStreamHandler("DELETE", "/usersessions/", m_userManager.RestDeleteUserSessionMethod )); | 111 | httpServer.AddStreamHandler( new RestStreamHandler("DELETE", "/usersessions/", m_userManager.RestDeleteUserSessionMethod )); |
104 | 112 | ||
105 | httpServer.Start(); | 113 | httpServer.Start(); |
114 | |||
106 | m_console.Status("SERVER", "Userserver 0.3 - Startup complete"); | 115 | m_console.Status("SERVER", "Userserver 0.3 - Startup complete"); |
107 | } | 116 | } |
108 | 117 | ||