From 87e2a694e200f5774f71d38041247912b5ccf98d Mon Sep 17 00:00:00 2001
From: lbsa71
Date: Thu, 27 Dec 2007 14:00:30 +0000
Subject: * AssetServerBase: _ProcessRequest is now called GetAsset *
PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry
Textures'; all serialization still using the 'byte[] TextureEntry' for
backwards compatibility. * Scene: Re-added AddTree, since the Tree type isn't
gone from libsl, merely relocated.
---
OpenSim/Framework/Communications/Cache/AssetServer.cs | 2 +-
OpenSim/Framework/Communications/Cache/AssetServerBase.cs | 8 ++++----
OpenSim/Framework/Communications/Cache/GridAssetClient.cs | 2 +-
OpenSim/Framework/Communications/Cache/SQLAssetServer.cs | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
(limited to 'OpenSim/Framework/Communications')
diff --git a/OpenSim/Framework/Communications/Cache/AssetServer.cs b/OpenSim/Framework/Communications/Cache/AssetServer.cs
index 4ad0f60..ae6494f 100644
--- a/OpenSim/Framework/Communications/Cache/AssetServer.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetServer.cs
@@ -72,7 +72,7 @@ namespace OpenSim.Framework.Communications.Cache
}
}
- protected override AssetBase _ProcessRequest(AssetRequest req)
+ protected override AssetBase GetAsset(AssetRequest req)
{
byte[] idata = null;
bool found = false;
diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs
index f5ebab7..43d3dd9 100644
--- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs
@@ -54,16 +54,16 @@ namespace OpenSim.Framework.Communications.Cache
///
///
///
- protected abstract AssetBase _ProcessRequest(AssetRequest req);
+ protected abstract AssetBase GetAsset(AssetRequest req);
///
- /// Process an asset request. This method will call _ProcessRequest(AssetRequest req)
+ /// Process an asset request. This method will call GetAsset(AssetRequest req)
/// on the subclass.
///
///
- protected void ProcessRequest(AssetRequest req)
+ protected virtual void ProcessRequest(AssetRequest req)
{
- AssetBase asset = _ProcessRequest(req);
+ AssetBase asset = GetAsset(req);
if (asset != null)
{
diff --git a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs
index 5801aa8..9c460c7 100644
--- a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs
+++ b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs
@@ -47,7 +47,7 @@ namespace OpenSim.Framework.Communications.Cache
#region IAssetServer Members
- protected override AssetBase _ProcessRequest(AssetRequest req)
+ protected override AssetBase GetAsset(AssetRequest req)
{
Stream s = null;
try
diff --git a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs
index 4fa7684..7fcff10 100644
--- a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs
+++ b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs
@@ -77,7 +77,7 @@ namespace OpenSim.Framework.Communications.Cache
m_assetProviderPlugin.CommitAssets();
}
- protected override AssetBase _ProcessRequest(AssetRequest req)
+ protected override AssetBase GetAsset(AssetRequest req)
{
AssetBase asset;
lock (syncLock)
--
cgit v1.1