From fd1a0a13749338ead01eddf59663704aae539ea7 Mon Sep 17 00:00:00 2001 From: MW Date: Sun, 10 Jun 2007 19:08:51 +0000 Subject: Added InterSimComms (Likely to be renamed) to the commsManager and moved the InformClientOfNeighbours method into that. --- .../InterSimComms/InterSimsCommsLocal.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs (limited to 'Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs') diff --git a/Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs b/Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs new file mode 100644 index 0000000..bce146f --- /dev/null +++ b/Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs @@ -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; + } + + /// + /// Informs a neighbouring sim to expect a child agent + /// + /// + /// + /// + public override bool InformNeighbourOfChildAgent(ulong regionHandle, AgentCircuitData agentData) //should change from agentCircuitData + { + return sandBoxManager.InformNeighbourOfChildAgent(regionHandle, agentData); + } + } +} -- cgit v1.1