aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs
diff options
context:
space:
mode:
authorMW2007-06-10 19:08:51 +0000
committerMW2007-06-10 19:08:51 +0000
commitfd1a0a13749338ead01eddf59663704aae539ea7 (patch)
tree017c1a182764ecd1bd60f661f89e8e318b50bdfc /Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs
parentAdded SandBoxManager which in sandbox mode, acts as the backend server for th... (diff)
downloadopensim-SC_OLD-fd1a0a13749338ead01eddf59663704aae539ea7.zip
opensim-SC_OLD-fd1a0a13749338ead01eddf59663704aae539ea7.tar.gz
opensim-SC_OLD-fd1a0a13749338ead01eddf59663704aae539ea7.tar.bz2
opensim-SC_OLD-fd1a0a13749338ead01eddf59663704aae539ea7.tar.xz
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.cs29
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 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenSim.Framework.Types;
5using OpenSim.Framework;
6
7namespace 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}