aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/InterGrid
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-06 14:30:50 +0000
committerJustin Clarke Casey2009-01-06 14:30:50 +0000
commit579f11b3b892a92c672a919b361b6961d302d234 (patch)
tree4e86b0957684f4b024c0f9c44cfb6d2faeed3ccb /OpenSim/Region/Environment/Modules/InterGrid
parent* refactor: drop AddXmlRpcHandler() from scene in favour of call via CommsMan... (diff)
downloadopensim-SC-579f11b3b892a92c672a919b361b6961d302d234.zip
opensim-SC-579f11b3b892a92c672a919b361b6961d302d234.tar.gz
opensim-SC-579f11b3b892a92c672a919b361b6961d302d234.tar.bz2
opensim-SC-579f11b3b892a92c672a919b361b6961d302d234.tar.xz
* refactor: call AddLLSDHandler directly via CommsManager
Diffstat (limited to 'OpenSim/Region/Environment/Modules/InterGrid')
-rw-r--r--OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs
index cbc4615..8534b56 100644
--- a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs
+++ b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs
@@ -147,8 +147,8 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
147 { 147 {
148 if (m_scene.Count == 0) 148 if (m_scene.Count == 0)
149 { 149 {
150 scene.AddLLSDHandler("/agent/", ProcessAgentDomainMessage); 150 scene.CommsManager.HttpServer.AddLLSDHandler("/agent/", ProcessAgentDomainMessage);
151 scene.AddLLSDHandler("/", ProcessRegionDomainSeed); 151 scene.CommsManager.HttpServer.AddLLSDHandler("/", ProcessRegionDomainSeed);
152 try 152 try
153 { 153 {
154 ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation; 154 ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation;
@@ -173,7 +173,9 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
173 // a zero length region name would conflict with are base region seed cap 173 // a zero length region name would conflict with are base region seed cap
174 if (!SceneListDuplicateCheck(scene.RegionInfo.RegionName) && scene.RegionInfo.RegionName.ToLower() != "agent" && scene.RegionInfo.RegionName.Length > 0) 174 if (!SceneListDuplicateCheck(scene.RegionInfo.RegionName) && scene.RegionInfo.RegionName.ToLower() != "agent" && scene.RegionInfo.RegionName.Length > 0)
175 { 175 {
176 scene.AddLLSDHandler("/" + HttpUtility.UrlPathEncode(scene.RegionInfo.RegionName.ToLower()),ProcessRegionDomainSeed); 176 scene.CommsManager.HttpServer.AddLLSDHandler(
177 "/" + HttpUtility.UrlPathEncode(scene.RegionInfo.RegionName.ToLower()),
178 ProcessRegionDomainSeed);
177 } 179 }
178 180
179 if (!m_scene.Contains(scene)) 181 if (!m_scene.Contains(scene))