aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs18
1 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs b/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs
index 98710c6..2d14b41 100644
--- a/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs
+++ b/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs
@@ -13,7 +13,7 @@ using OpenSim.Region.Framework.Scenes;
13 13
14namespace OpenSim.Region.CoreModules.InterGrid 14namespace OpenSim.Region.CoreModules.InterGrid
15{ 15{
16 public class OGSRadmin : ISharedRegionModule 16 public class OGSRadmin : IRegionModule
17 { 17 {
18 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 18 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
19 private readonly List<Scene> m_scenes = new List<Scene>(); 19 private readonly List<Scene> m_scenes = new List<Scene>();
@@ -27,6 +27,7 @@ namespace OpenSim.Region.CoreModules.InterGrid
27 get { return "OGS Supporting RAdmin"; } 27 get { return "OGS Supporting RAdmin"; }
28 } 28 }
29 29
30
30 public void Initialise(IConfigSource source) 31 public void Initialise(IConfigSource source)
31 { 32 {
32 m_settings = source; 33 m_settings = source;
@@ -65,6 +66,21 @@ namespace OpenSim.Region.CoreModules.InterGrid
65 66
66 #endregion 67 #endregion
67 68
69 #region IRegionModule
70
71 public void Initialise(Scene scene, IConfigSource source)
72 {
73 lock (m_scenes)
74 m_scenes.Add(scene);
75 }
76
77 public bool IsSharedModule
78 {
79 get { return true; }
80 }
81
82 #endregion
83
68 public XmlRpcResponse GridWideMessage(XmlRpcRequest req, IPEndPoint remoteClient) 84 public XmlRpcResponse GridWideMessage(XmlRpcRequest req, IPEndPoint remoteClient)
69 { 85 {
70 XmlRpcResponse response = new XmlRpcResponse(); 86 XmlRpcResponse response = new XmlRpcResponse();