aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenGrid.Framework.Communications/RegionServerCommsOGS.cs
diff options
context:
space:
mode:
authorMW2007-06-10 12:01:09 +0000
committerMW2007-06-10 12:01:09 +0000
commit93f07a9fcef3c4b2df15d0f3bac3ea699fd5607e (patch)
tree99147a25c73e76a20bf7a13ad30219b67c5ee271 /Common/OpenGrid.Framework.Communications/RegionServerCommsOGS.cs
parenta couple of changes/fixes (diff)
downloadopensim-SC_OLD-93f07a9fcef3c4b2df15d0f3bac3ea699fd5607e.zip
opensim-SC_OLD-93f07a9fcef3c4b2df15d0f3bac3ea699fd5607e.tar.gz
opensim-SC_OLD-93f07a9fcef3c4b2df15d0f3bac3ea699fd5607e.tar.bz2
opensim-SC_OLD-93f07a9fcef3c4b2df15d0f3bac3ea699fd5607e.tar.xz
Diffstat (limited to '')
-rw-r--r--Common/OpenGrid.Framework.Communications/RegionServerCommsOGS.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/Common/OpenGrid.Framework.Communications/RegionServerCommsOGS.cs b/Common/OpenGrid.Framework.Communications/RegionServerCommsOGS.cs
index b0db473..b746f92 100644
--- a/Common/OpenGrid.Framework.Communications/RegionServerCommsOGS.cs
+++ b/Common/OpenGrid.Framework.Communications/RegionServerCommsOGS.cs
@@ -1,6 +1,8 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Text; 3using System.Text;
4using OpenSim.Framework;
5using OpenSim.Framework.Types;
4 6
5namespace OpenGrid.Framework.Communications 7namespace OpenGrid.Framework.Communications
6{ 8{
@@ -11,5 +13,35 @@ namespace OpenGrid.Framework.Communications
11 userServer = new UserServer.UserCommsManagerOGS(); //Remote User Server 13 userServer = new UserServer.UserCommsManagerOGS(); //Remote User Server
12 gridServer = new GridServer.GridCommsManagerOGS(); //Remote Grid Server 14 gridServer = new GridServer.GridCommsManagerOGS(); //Remote Grid Server
13 } 15 }
16
17 public override RegionCommsHostBase RegisterRegion(RegionInfo regionInfo)
18 {
19 return gridServer.RegisterRegion(regionInfo);
20 }
21
22 /// <summary>
23 /// In the current class structure this shouldn't be here as it should only be in the gridserver class
24 /// but having it there in sandbox mode makes things very difficult, so for now until something is sorted out
25 /// it will have to be here as well
26 /// </summary>
27 /// <param name="regionInfo"></param>
28 /// <returns></returns>
29 public override List<RegionInfo> RequestNeighbours(RegionInfo regionInfo)
30 {
31 return gridServer.RequestNeighbours(regionInfo);
32 }
33
34 /// <summary>
35 /// informs a neighbouring sim to expect a child agent
36 /// I guess if we are going to stick with the current class structure then we need a intersim class
37 /// but think we need to really rethink the class structure as currently it makes things very messy for sandbox mode
38 /// </summary>
39 /// <param name="regionHandle"></param>
40 /// <param name="agentData"></param>
41 /// <returns></returns>
42 public override bool InformNeighbourOfChildAgent(ulong regionHandle, AgentCircuitData agentData) //should change from agentCircuitData
43 {
44 return false;
45 }
14 } 46 }
15} 47}