* minor: A few tiny bits of documentation and log message cleanup before starting something different

0.6.1-post-fixes
Justin Clarke Casey 2008-12-01 20:28:00 +00:00
parent 2cf0be7d58
commit 18ba6c3510
6 changed files with 11 additions and 9 deletions

View File

@ -232,7 +232,6 @@ namespace OpenSim.ApplicationPlugins.Rest
// Get plugin specific config // Get plugin specific config
_pluginConfig = openSim.ConfigSource.Source.Configs[ConfigName]; _pluginConfig = openSim.ConfigSource.Source.Configs[ConfigName];
m_log.InfoFormat("{0} Rest Plugins Enabled", MsgID); m_log.InfoFormat("{0} Rest Plugins Enabled", MsgID);
} }
catch (Exception e) catch (Exception e)

View File

@ -53,13 +53,12 @@ namespace OpenSim.Region.ClientStack
protected BaseHttpServer m_httpServer; protected BaseHttpServer m_httpServer;
protected uint m_httpServerPort; protected uint m_httpServerPort;
protected CommunicationsManager m_commsManager; public CommunicationsManager CommunicationsManager
public CommunicationsManager CommunicationsManager { {
get { return m_commsManager; } get { return m_commsManager; }
} }
protected CommunicationsManager m_commsManager;
protected SceneManager m_sceneManager = new SceneManager();
protected StorageManager m_storageManager; protected StorageManager m_storageManager;
@ -69,6 +68,7 @@ namespace OpenSim.Region.ClientStack
{ {
get { return m_sceneManager; } get { return m_sceneManager; }
} }
protected SceneManager m_sceneManager = new SceneManager();
protected abstract void Initialize(); protected abstract void Initialize();
protected abstract PhysicsScene GetPhysicsScene(); protected abstract PhysicsScene GetPhysicsScene();

View File

@ -33,7 +33,7 @@ using OpenSim.Region.Environment.Scenes;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
/// <summary> /// <summary>
/// An interface for accessing and managing agent inventory /// An interface for a module that manages inter-agent inventory offers and transfers.
/// </summary> /// </summary>
public interface IInventoryTransferModule public interface IInventoryTransferModule
{ {

View File

@ -244,7 +244,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer
if (item == null) if (item == null)
reason += " Item not found."; reason += " Item not found.";
client.SendAgentAlertMessage("Unable to delete "+ client.SendAgentAlertMessage("Unable to delete "+
"received item"+reason, false); "received item" + reason, false);
} }
} }

View File

@ -38,6 +38,9 @@ namespace OpenSim.Region.Environment.Scenes
{ {
public delegate void RestartSim(RegionInfo thisregion); public delegate void RestartSim(RegionInfo thisregion);
/// <summary>
/// Manager for adding, closing and restarting scenes.
/// </summary>
public class SceneManager public class SceneManager
{ {
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);

View File

@ -84,7 +84,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
public void Initialise(OpenSimBase openSim) public void Initialise(OpenSimBase openSim)
{ {
m_log.Info("[BALANCER] " + "Entering Initialize()"); m_log.Info("[BALANCER]: " + "Entering Initialize()");
proxyURL = openSim.ConfigSource.Source.Configs["Network"].GetString("proxy_url", ""); proxyURL = openSim.ConfigSource.Source.Configs["Network"].GetString("proxy_url", "");
if (proxyURL.Length == 0) return; if (proxyURL.Length == 0) return;