diff options
Added InterSimComms (Likely to be renamed) to the commsManager and moved the InformClientOfNeighbours method into that.
Diffstat (limited to 'Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs')
-rw-r--r-- | Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs | 29 |
1 files changed, 29 insertions, 0 deletions
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenSim.Framework.Types; | ||
5 | using OpenSim.Framework; | ||
6 | |||
7 | namespace OpenGrid.Framework.Communications | ||
8 | { | ||
9 | public class InterSimsCommsLocal : InterSimsCommsBase | ||
10 | { | ||
11 | private SandBoxManager sandBoxManager; | ||
12 | |||
13 | public InterSimsCommsLocal(SandBoxManager sandManager) | ||
14 | { | ||
15 | sandBoxManager = sandManager; | ||
16 | } | ||
17 | |||
18 | /// <summary> | ||
19 | /// Informs a neighbouring sim to expect a child agent | ||
20 | /// </summary> | ||
21 | /// <param name="regionHandle"></param> | ||
22 | /// <param name="agentData"></param> | ||
23 | /// <returns></returns> | ||
24 | public override bool InformNeighbourOfChildAgent(ulong regionHandle, AgentCircuitData agentData) //should change from agentCircuitData | ||
25 | { | ||
26 | return sandBoxManager.InformNeighbourOfChildAgent(regionHandle, agentData); | ||
27 | } | ||
28 | } | ||
29 | } | ||