Added InterSimComms (Likely to be renamed) to the commsManager and moved the InformClientOfNeighbours method into that.

This commit is contained in:
MW
2007-06-10 19:08:51 +00:00
parent 453fadd940
commit fd1a0a1374
11 changed files with 127 additions and 94 deletions

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Framework.Types;
using OpenSim.Framework;
namespace OpenGrid.Framework.Communications
{
public class InterSimsCommsLocal : InterSimsCommsBase
{
private SandBoxManager sandBoxManager;
public InterSimsCommsLocal(SandBoxManager sandManager)
{
sandBoxManager = sandManager;
}
/// <summary>
/// Informs a neighbouring sim to expect a child agent
/// </summary>
/// <param name="regionHandle"></param>
/// <param name="agentData"></param>
/// <returns></returns>
public override bool InformNeighbourOfChildAgent(ulong regionHandle, AgentCircuitData agentData) //should change from agentCircuitData
{
return sandBoxManager.InformNeighbourOfChildAgent(regionHandle, agentData);
}
}
}