From c194bfbada321c7ae99a67e8fe694cdb57cb843e Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 31 May 2007 12:52:17 +0000 Subject: --- .../OpenGrid.Framework.Communications.csproj | 4 ++++ .../RegionServerCommsManager.cs | 15 +++++++++++++-- Common/OpenSim.Framework/IRegionCommsHost.cs | 3 +++ 3 files changed, 20 insertions(+), 2 deletions(-) (limited to 'Common') diff --git a/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj b/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj index bda9184..80297f3 100644 --- a/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj +++ b/Common/OpenGrid.Framework.Communications/OpenGrid.Framework.Communications.csproj @@ -28,6 +28,10 @@ 4 + + False + ..\..\bin\libsecondlife.dll + diff --git a/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs b/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs index c5413d2..4f42f8b 100644 --- a/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs +++ b/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs @@ -4,6 +4,7 @@ using System.Text; using OpenSim.Framework; using OpenSim.Framework.Interfaces; using OpenSim.Framework.Types; +using libsecondlife; namespace OpenGrid.Framework.Communications { @@ -19,7 +20,7 @@ namespace OpenGrid.Framework.Communications /// /// /// - public virtual RegionInfo LoadRegionConfigFromGridServer() + public virtual RegionInfo LoadRegionConfigFromGridServer(LLUUID regionID) { return null; } @@ -37,8 +38,18 @@ namespace OpenGrid.Framework.Communications /// /// /// + /// + /// + public virtual List RequestNeighbours(RegionInfo regionInfo) + { + return null; + } + + /// + /// + /// /// - public virtual bool InformNeighbourOfChildAgent() + public virtual bool InformNeighbourOfChildAgent( uint regionHandle, AgentCircuitData agentData) //should change from agentCircuitData { return false; } diff --git a/Common/OpenSim.Framework/IRegionCommsHost.cs b/Common/OpenSim.Framework/IRegionCommsHost.cs index 006661d..815bd8e 100644 --- a/Common/OpenSim.Framework/IRegionCommsHost.cs +++ b/Common/OpenSim.Framework/IRegionCommsHost.cs @@ -2,15 +2,18 @@ using System; using System.Collections.Generic; using System.Text; using OpenSim.Framework.Interfaces; +using OpenSim.Framework.Types; namespace OpenSim.Framework { public delegate void ExpectUserDelegate(); + public delegate void UpdateNeighbours(List neighbours); public interface IRegionCommsHost { event ExpectUserDelegate OnExpectUser; event GenericCall2 OnExpectChildAgent; event GenericCall2 OnAvatarCrossingIntoRegion; + event UpdateNeighbours OnNeighboursUpdate; } } -- cgit v1.1