Changing a few methods to public. This is the collection of methods that will be moved to a library somewhere else.

0.6.5-rc1
diva 2009-03-15 19:21:43 +00:00
parent 0d37907c58
commit 95323c3264
1 changed files with 6 additions and 6 deletions

View File

@ -269,7 +269,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST
// Internal functions for the above public interface // 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 // Eventually, we want to use a caps url instead of the agentID
string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/agent/" + aCircuit.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 // Eventually, we want to use a caps url instead of the agentID
string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/agent/" + cAgentData.AgentID + "/"; string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/agent/" + cAgentData.AgentID + "/";
@ -438,7 +438,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST
return true; 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); //m_log.Debug(" >>> DoReleaseAgentCall <<< " + uri);
@ -470,7 +470,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST
return true; 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() +"/"; 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; return true;
} }
protected bool DoCreateObjectCall(RegionInfo region, ISceneObject sog) public bool DoCreateObjectCall(RegionInfo region, ISceneObject sog)
{ {
ulong regionHandle = GetRegionHandle(region.RegionHandle); ulong regionHandle = GetRegionHandle(region.RegionHandle);
string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/object/" + sog.UUID + "/" + regionHandle.ToString() + "/"; 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 + "/"; string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/region/" + thisRegion.RegionID + "/";
//m_log.Debug(" >>> DoHelloNeighbourCall <<< " + uri); //m_log.Debug(" >>> DoHelloNeighbourCall <<< " + uri);