From 93f07a9fcef3c4b2df15d0f3bac3ea699fd5607e Mon Sep 17 00:00:00 2001
From: MW
Date: Sun, 10 Jun 2007 12:01:09 +0000
Subject:
---
.../RegionServerCommsOGS.cs | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
(limited to 'Common/OpenGrid.Framework.Communications/RegionServerCommsOGS.cs')
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 @@
using System;
using System.Collections.Generic;
using System.Text;
+using OpenSim.Framework;
+using OpenSim.Framework.Types;
namespace OpenGrid.Framework.Communications
{
@@ -11,5 +13,35 @@ namespace OpenGrid.Framework.Communications
userServer = new UserServer.UserCommsManagerOGS(); //Remote User Server
gridServer = new GridServer.GridCommsManagerOGS(); //Remote Grid Server
}
+
+ public override RegionCommsHostBase RegisterRegion(RegionInfo regionInfo)
+ {
+ return gridServer.RegisterRegion(regionInfo);
+ }
+
+ ///
+ /// In the current class structure this shouldn't be here as it should only be in the gridserver class
+ /// but having it there in sandbox mode makes things very difficult, so for now until something is sorted out
+ /// it will have to be here as well
+ ///
+ ///
+ ///
+ public override List RequestNeighbours(RegionInfo regionInfo)
+ {
+ return gridServer.RequestNeighbours(regionInfo);
+ }
+
+ ///
+ /// informs a neighbouring sim to expect a child agent
+ /// I guess if we are going to stick with the current class structure then we need a intersim class
+ /// but think we need to really rethink the class structure as currently it makes things very messy for sandbox mode
+ ///
+ ///
+ ///
+ ///
+ public override bool InformNeighbourOfChildAgent(ulong regionHandle, AgentCircuitData agentData) //should change from agentCircuitData
+ {
+ return false;
+ }
}
}
--
cgit v1.1