clean some modules api

httptests
UbitUmarov 2018-01-13 14:40:31 +00:00
parent 4345d225f1
commit d3ff4e0806
3 changed files with 14 additions and 30 deletions

View File

@ -1,16 +0,0 @@
:VERSION 1
BEGIN;
CREATE TABLE `XMute` (
`AgentID` char(36) NOT NULL,
`MuteID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
`MuteName` varchar(64) NOT NULL DEFAULT '',
`MuteType` int(11) NOT NULL DEFAULT '1',
`MuteFlags` int(11) NOT NULL DEFAULT '0',
`Stamp` int(11) NOT NULL,
UNIQUE KEY `AgentID_2` (`AgentID`,`MuteID`,`MuteName`),
KEY `AgentID` (`AgentID`)
);
COMMIT;

View File

@ -163,7 +163,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Profile
#region ISharedRegionModule implementation
void ISharedRegionModule.PostInitialise()
public void PostInitialise()
{
if(!Enabled)
return;
@ -173,7 +173,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Profile
#region IRegionModuleBase implementation
void IRegionModuleBase.Initialise(IConfigSource source)
public void Initialise(IConfigSource source)
{
IConfig moduleConfig = source.Configs["Modules"];
if (moduleConfig != null)
@ -187,12 +187,12 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Profile
}
}
void IRegionModuleBase.Close()
public void Close()
{
return;
}
void IRegionModuleBase.AddRegion(Scene scene)
public void AddRegion(Scene scene)
{
if (!Enabled)
return;
@ -206,7 +206,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Profile
}
}
void IRegionModuleBase.RemoveRegion(Scene scene)
public void RemoveRegion(Scene scene)
{
if (!Enabled)
return;
@ -218,7 +218,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Profile
}
}
void IRegionModuleBase.RegionLoaded(Scene scene)
public void RegionLoaded(Scene scene)
{
if (!Enabled)
return;

View File

@ -127,7 +127,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
/// <summary>
/// Identifies the module to the system.
/// </summary>
string IRegionModuleBase.Name
public string Name
{
get { return "AutoBackupModule"; }
}
@ -135,7 +135,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
/// <summary>
/// We don't implement an interface, this is a single-use module.
/// </summary>
Type IRegionModuleBase.ReplaceableInterface
public Type ReplaceableInterface
{
get { return null; }
}
@ -144,7 +144,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
/// Called once in the lifetime of the module at startup.
/// </summary>
/// <param name="source">The input config source for OpenSim.ini.</param>
void IRegionModuleBase.Initialise(IConfigSource source)
public void Initialise(IConfigSource source)
{
// Determine if we have been enabled at all in OpenSim.ini -- this is part and parcel of being an optional module
m_configSource = source;
@ -184,7 +184,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
/// <summary>
/// Called once at de-init (sim shutting down).
/// </summary>
void IRegionModuleBase.Close()
public void Close()
{
if (!m_enabled)
return;
@ -197,7 +197,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
/// Currently a no-op for AutoBackup because we have to wait for region to be fully loaded.
/// </summary>
/// <param name="scene"></param>
void IRegionModuleBase.AddRegion (Scene scene)
public void AddRegion (Scene scene)
{
if (!m_enabled)
return;
@ -210,7 +210,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
/// Here we just clean up some resources and stop the OAR backup (if any) for the given scene.
/// </summary>
/// <param name="scene">The scene (region) to stop performing AutoBackup on.</param>
void IRegionModuleBase.RemoveRegion(Scene scene)
public void RemoveRegion(Scene scene)
{
if (m_enabled)
return;
@ -228,7 +228,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
/// We read lots of Nini config, maybe set a timer, add members to state tracking Dictionaries, etc.
/// </summary>
/// <param name="scene">The scene to (possibly) perform AutoBackup on.</param>
void IRegionModuleBase.RegionLoaded(Scene scene)
public void RegionLoaded(Scene scene)
{
if (!m_enabled)
return;
@ -258,7 +258,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
/// <summary>
/// Currently a no-op.
/// </summary>
void ISharedRegionModule.PostInitialise()
public void PostInitialise()
{
}