From 95323c32641a125fa5861a51821cbee692bd1c75 Mon Sep 17 00:00:00 2001
From: diva
Date: Sun, 15 Mar 2009 19:21:43 +0000
Subject: Changing a few methods to public. This is the collection of methods
 that will be moved to a library somewhere else.

---
 .../CoreModules/Communications/REST/RESTInterregionComms.cs  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'OpenSim')

diff --git a/OpenSim/Region/CoreModules/Communications/REST/RESTInterregionComms.cs b/OpenSim/Region/CoreModules/Communications/REST/RESTInterregionComms.cs
index b19f0fa..258f276 100644
--- a/OpenSim/Region/CoreModules/Communications/REST/RESTInterregionComms.cs
+++ b/OpenSim/Region/CoreModules/Communications/REST/RESTInterregionComms.cs
@@ -269,7 +269,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST
         // Internal  functions for the above public interface
         //-------------------------------------------------------------------
 
-        protected bool DoCreateChildAgentCall(RegionInfo region, AgentCircuitData aCircuit)
+        public bool DoCreateChildAgentCall(RegionInfo region, AgentCircuitData aCircuit)
         {
             // Eventually, we want to use a caps url instead of the agentID
             string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/agent/" + aCircuit.AgentID + "/";
@@ -354,7 +354,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST
 
         }
 
-        protected bool DoChildAgentUpdateCall(RegionInfo region, IAgentData cAgentData)
+        public bool DoChildAgentUpdateCall(RegionInfo region, IAgentData cAgentData)
         {
             // Eventually, we want to use a caps url instead of the agentID
             string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/agent/" + cAgentData.AgentID + "/";
@@ -438,7 +438,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST
             return true;
         }
 
-        protected bool DoReleaseAgentCall(ulong regionHandle, UUID id, string uri)
+        public bool DoReleaseAgentCall(ulong regionHandle, UUID id, string uri)
         {
             //m_log.Debug("   >>> DoReleaseAgentCall <<< " + uri);
 
@@ -470,7 +470,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST
             return true;
         }
 
-        protected bool DoCloseAgentCall(RegionInfo region, UUID id)
+        public bool DoCloseAgentCall(RegionInfo region, UUID id)
         {
             string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/agent/" + id + "/" + region.RegionHandle.ToString() +"/";
 
@@ -504,7 +504,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST
             return true;
         }
         
-        protected bool DoCreateObjectCall(RegionInfo region, ISceneObject sog)
+        public bool DoCreateObjectCall(RegionInfo region, ISceneObject sog)
         {
             ulong regionHandle = GetRegionHandle(region.RegionHandle);
             string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/object/" + sog.UUID + "/" + regionHandle.ToString() + "/";
@@ -585,7 +585,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST
 
         }
 
-        protected bool DoHelloNeighbourCall(RegionInfo region, RegionInfo thisRegion)
+        public bool DoHelloNeighbourCall(RegionInfo region, RegionInfo thisRegion)
         {
             string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/region/" + thisRegion.RegionID + "/";
             //m_log.Debug("   >>> DoHelloNeighbourCall <<< " + uri);
-- 
cgit v1.1