From 0d8284c7a1f5184ce50edfdf40c0b8361893426e Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 10 Aug 2009 08:14:57 -0700 Subject: Removed IAssetCache. WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 2 +- OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs | 8 ++++---- OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 7 +++---- OpenSim/Region/ClientStack/RegionApplicationBase.cs | 10 +--------- 4 files changed, 9 insertions(+), 18 deletions(-) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index d8f786b..3d58839 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -488,7 +488,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP /// Constructor /// public LLClientView( - EndPoint remoteEP, IScene scene, IAssetCache assetCache, LLPacketServer packServer, + EndPoint remoteEP, IScene scene, LLPacketServer packServer, AuthenticateResponse sessionInfo, UUID agentId, UUID sessionId, uint circuitCode, EndPoint proxyEP, ClientStackUserSettings userSettings) { diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs index b154144..56219d1 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs @@ -87,13 +87,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP /// /// protected virtual IClientAPI CreateNewCircuit( - EndPoint remoteEP, IScene scene, IAssetCache assetCache, + EndPoint remoteEP, IScene scene, LLPacketServer packServer, AuthenticateResponse sessionInfo, UUID agentId, UUID sessionId, uint circuitCode, EndPoint proxyEP) { return new LLClientView( - remoteEP, scene, assetCache, packServer, sessionInfo, agentId, sessionId, circuitCode, proxyEP, + remoteEP, scene, packServer, sessionInfo, agentId, sessionId, circuitCode, proxyEP, m_userSettings); } @@ -131,7 +131,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP /// true if a new circuit was created, false if a circuit with the given circuit code already existed /// public virtual bool AddNewClient( - EndPoint epSender, UseCircuitCodePacket useCircuit, IAssetCache assetCache, + EndPoint epSender, UseCircuitCodePacket useCircuit, AuthenticateResponse sessionInfo, EndPoint proxyEP) { IClientAPI newuser; @@ -150,7 +150,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP newuser = CreateNewCircuit( - epSender, m_scene, assetCache, this, sessionInfo, agentId, sessionId, circuitCode, proxyEP); + epSender, m_scene, this, sessionInfo, agentId, sessionId, circuitCode, proxyEP); m_scene.ClientManager.Add(circuitCode, newuser); diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 54434f1..5184e35 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs @@ -75,7 +75,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP protected bool Allow_Alternate_Port; protected IPAddress listenIP = IPAddress.Parse("0.0.0.0"); protected IScene m_localScene; - protected IAssetCache m_assetCache; protected int m_clientSocketReceiveBuffer = 0; /// @@ -131,7 +130,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP public LLUDPServer( IPAddress _listenIP, ref uint port, int proxyPortOffset, bool allow_alternate_port, IConfigSource configSource, - IAssetCache assetCache, AgentCircuitManager authenticateClass) + AgentCircuitManager authenticateClass) { Initialise(_listenIP, ref port, proxyPortOffset, allow_alternate_port, configSource, authenticateClass); } @@ -451,7 +450,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP proxyCircuits[useCircuit.CircuitCode.Code] = epProxy; } - m_packetServer.AddNewClient(epSender, useCircuit, m_assetCache, sessionInfo, epProxy); + m_packetServer.AddNewClient(epSender, useCircuit, sessionInfo, epProxy); //m_log.DebugFormat( // "[CONNECTION SUCCESS]: Incoming client {0} (circuit code {1}) received and authenticated for {2}", @@ -629,7 +628,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP } } - m_packetServer.AddNewClient(userEP, useCircuit, m_assetCache, sessionInfo, proxyEP); + m_packetServer.AddNewClient(userEP, useCircuit, sessionInfo, proxyEP); } } } diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs index 2fbbbe2..a266a40 100644 --- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs +++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs @@ -72,15 +72,7 @@ namespace OpenSim.Region.ClientStack get { return m_sceneManager; } } protected SceneManager m_sceneManager = new SceneManager(); - - protected IAssetCache m_assetCache; - - public IAssetCache AssetCache - { - get { return m_assetCache; } - set { m_assetCache = value; } - } - + protected abstract void Initialize(); /// -- cgit v1.1