From ee5bd67b82f2fae77477b22765ba830e29ce4fd3 Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 31 May 2007 13:45:18 +0000 Subject: --- .../OpenGrid.Framework.Communications.csproj | 1 + .../RegionServerCommsManager.cs | 10 +++ .../TestLocalCommsManager.cs | 77 ++++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs (limited to 'Common/OpenGrid.Framework.Communications') diff --git a/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj b/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj index 80297f3..836ab7e 100644 --- a/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj +++ b/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj @@ -39,6 +39,7 @@ + diff --git a/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs b/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs index 4f42f8b..9767185 100644 --- a/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs +++ b/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs @@ -1,4 +1,5 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Text; using OpenSim.Framework; @@ -62,5 +63,14 @@ namespace OpenGrid.Framework.Communications { return false; } + + /// + /// + /// + /// + public virtual IList RequestMapBlocks() + { + return null; + } } } diff --git a/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs b/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs new file mode 100644 index 0000000..32f4718 --- /dev/null +++ b/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs @@ -0,0 +1,77 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Text; +using libsecondlife; +using OpenSim.Framework; +using OpenSim.Framework.Interfaces; +using OpenSim.Framework.Types; + +namespace OpenGrid.Framework.Communications +{ + public class TestLocalCommsManager : RegionServerCommsManager + { + protected Dictionary regions = new Dictionary(); + + public TestLocalCommsManager() + { + + } + + /// + /// + /// + /// + public override RegionInfo LoadRegionConfigFromGridServer(LLUUID regionID) + { + return null; + } + + /// + /// + /// + /// + /// + public override IRegionCommsHost RegisterRegion(RegionInfo regionInfo) + { + return null; + } + + /// + /// + /// + /// + /// + public override List RequestNeighbours(RegionInfo regionInfo) + { + return null; + } + + /// + /// + /// + /// + public override bool InformNeighbourOfChildAgent(uint regionHandle, AgentCircuitData agentData) //should change from agentCircuitData + { + return false; + } + + /// + /// + /// + /// + public override bool AvatarCrossingToRegion() + { + return false; + } + + /// + /// + /// + /// + public override IList RequestMapBlocks() + { + return null; + } + } +} -- cgit v1.1