From bd2180d9af21dd54d4199a9381afa3e43e913823 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 19 Mar 2009 18:11:44 +0000 Subject: * refactor: Create IHttpServer interface instead of accessing BaseHttpServer via CommunicationsManager directly --- OpenSim/Client/Linden/LLStandaloneLoginModule.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Client/Linden') diff --git a/OpenSim/Client/Linden/LLStandaloneLoginModule.cs b/OpenSim/Client/Linden/LLStandaloneLoginModule.cs index 11bb2c4..00407fd 100644 --- a/OpenSim/Client/Linden/LLStandaloneLoginModule.cs +++ b/OpenSim/Client/Linden/LLStandaloneLoginModule.cs @@ -38,7 +38,7 @@ using OpenSim.Framework; using OpenSim.Framework.Communications; using OpenSim.Framework.Communications.Cache; using OpenSim.Framework.Communications.Capabilities; -using OpenSim.Framework.Servers; +using OpenSim.Framework.Servers.Interfaces; using OpenSim.Region.Framework.Scenes; using OpenSim.Region.Framework.Interfaces; @@ -97,9 +97,10 @@ namespace OpenSim.Client.Linden } //TODO: fix casting. - LibraryRootFolder rootFolder = m_firstScene.CommsManager.UserProfileCacheService.LibraryRoot as LibraryRootFolder; + LibraryRootFolder rootFolder + = m_firstScene.CommsManager.UserProfileCacheService.LibraryRoot as LibraryRootFolder; - BaseHttpServer httpServer = m_firstScene.CommsManager.HttpServer; + IHttpServer httpServer = m_firstScene.CommsManager.HttpServer; //TODO: fix the casting of the user service, maybe by registering the userManagerBase with scenes, or refactoring so we just need a IUserService reference m_loginService = new LLStandaloneLoginService((UserManagerBase)m_firstScene.CommsManager.UserService, welcomeMessage, m_firstScene.CommsManager.InterServiceInventoryService, m_firstScene.CommsManager.NetworkServersInfo, authenticate, rootFolder, this); -- cgit v1.1