mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Fixed the naming mess around data connectors for simulation data
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user