Fixed the naming mess around data connectors for simulation data

This commit is contained in:
John Hurliman
2010-09-11 20:43:06 -07:00
parent 47ac9f97b1
commit 109b517583
13 changed files with 23 additions and 23 deletions

View File

@@ -200,7 +200,7 @@ namespace OpenSim.Region.Framework.Interfaces
/// Backup the inventory to the given data store
/// </summary>
/// <param name="datastore"></param>
void ProcessInventoryBackup(IRegionDataStore datastore);
void ProcessInventoryBackup(ISimulationDataStore datastore);
uint MaskEffectivePermissions();

View File

@@ -32,7 +32,7 @@ using OpenSim.Region.Framework.Scenes;
namespace OpenSim.Region.Framework.Interfaces
{
public interface IRegionDataStore
public interface ISimulationDataStore
{
/// <summary>
/// Initialises the data storage engine

View File

@@ -57,7 +57,7 @@ namespace OpenSim.Region.Framework.Scenes
public event OnTerrainTickDelegate OnTerrainTick;
public delegate void OnBackupDelegate(IRegionDataStore datastore, bool forceBackup);
public delegate void OnBackupDelegate(ISimulationDataStore datastore, bool forceBackup);
public event OnBackupDelegate OnBackup;
@@ -684,7 +684,7 @@ namespace OpenSim.Region.Framework.Scenes
}
}
public void TriggerOnBackup(IRegionDataStore dstore, bool forced)
public void TriggerOnBackup(ISimulationDataStore dstore, bool forced)
{
OnBackupDelegate handlerOnAttach = OnBackup;
if (handlerOnAttach != null)

View File

@@ -1378,7 +1378,7 @@ namespace OpenSim.Region.Framework.Scenes
/// Processes backup.
/// </summary>
/// <param name="datastore"></param>
public virtual void ProcessBackup(IRegionDataStore datastore, bool forcedBackup)
public virtual void ProcessBackup(ISimulationDataStore datastore, bool forcedBackup)
{
if (!m_isBackedUp)
{

View File

@@ -848,7 +848,7 @@ namespace OpenSim.Region.Framework.Scenes
/// Process inventory backup
/// </summary>
/// <param name="datastore"></param>
public void ProcessInventoryBackup(IRegionDataStore datastore)
public void ProcessInventoryBackup(ISimulationDataStore datastore)
{
if (HasInventoryChanged)
{

View File

@@ -36,9 +36,9 @@ namespace OpenSim.Region.Framework
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
protected IRegionDataStore m_dataStore;
protected ISimulationDataStore m_dataStore;
public IRegionDataStore DataStore
public ISimulationDataStore DataStore
{
get { return m_dataStore; }
}
@@ -50,7 +50,7 @@ namespace OpenSim.Region.Framework
get { return m_estateDataStore; }
}
public StorageManager(IRegionDataStore storage)
public StorageManager(ISimulationDataStore storage)
{
m_dataStore = storage;
}
@@ -68,8 +68,8 @@ namespace OpenSim.Region.Framework
if (typeInterface != null)
{
IRegionDataStore plug =
(IRegionDataStore) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString()));
ISimulationDataStore plug =
(ISimulationDataStore)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString()));
plug.Initialise(connectionstring);
m_dataStore = plug;