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/Framework/Communications/Capabilities/CapsHandlers.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/Communications/Capabilities/CapsHandlers.cs') diff --git a/OpenSim/Framework/Communications/Capabilities/CapsHandlers.cs b/OpenSim/Framework/Communications/Capabilities/CapsHandlers.cs index ed31c45..b47d014 100644 --- a/OpenSim/Framework/Communications/Capabilities/CapsHandlers.cs +++ b/OpenSim/Framework/Communications/Capabilities/CapsHandlers.cs @@ -28,6 +28,7 @@ using System.Collections; using System.Collections.Generic; using OpenSim.Framework.Servers; +using OpenSim.Framework.Servers.Interfaces; namespace OpenSim.Framework.Communications.Capabilities { @@ -39,7 +40,7 @@ namespace OpenSim.Framework.Communications.Capabilities public class CapsHandlers { private Dictionary m_capsHandlers = new Dictionary(); - private BaseHttpServer m_httpListener; + private IHttpServer m_httpListener; private string m_httpListenerHostName; private uint m_httpListenerPort; private bool m_useSSL = false; @@ -67,7 +68,7 @@ namespace OpenSim.Framework.Communications.Capabilities /// host name of the HTTP /// server /// HTTP port - public CapsHandlers(BaseHttpServer httpListener, string httpListenerHostname, uint httpListenerPort, bool https) + public CapsHandlers(IHttpServer httpListener, string httpListenerHostname, uint httpListenerPort, bool https) { m_httpListener = httpListener; m_httpListenerHostName = httpListenerHostname; -- cgit v1.1