mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
Another interregion comms change that will not work well with previous versions. This commit moves InformRegionOfChildAgent from OGS1 to RESTComms, effectively having the complete child agent life cycle over REST: create=POST, update=PUT, close=DELETE.
Additional changes include more functions in the IHyperlink interface, and some refactorings in the HG code for better reuse in RESTComms.
This commit is contained in:
@@ -118,6 +118,21 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local
|
||||
|
||||
#region IInterregionComms
|
||||
|
||||
public bool SendCreateChildAgent(ulong regionHandle, AgentCircuitData aCircuit)
|
||||
{
|
||||
foreach (Scene s in m_sceneList)
|
||||
{
|
||||
if (s.RegionInfo.RegionHandle == regionHandle)
|
||||
{
|
||||
//m_log.Debug("[LOCAL COMMS]: Found region to send SendCreateChildAgent");
|
||||
s.NewUserConnection(aCircuit);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
//m_log.Debug("[LOCAL COMMS]: region not found for SendCreateChildAgent");
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool SendChildAgentUpdate(ulong regionHandle, AgentData cAgentData)
|
||||
{
|
||||
foreach (Scene s in m_sceneList)
|
||||
|
||||
Reference in New Issue
Block a user