From 33b8fe52d61b5d0aa786ba9b1ce11d4caf9da5d1 Mon Sep 17 00:00:00 2001
From: MW
Date: Thu, 31 May 2007 12:05:32 +0000
Subject:
---
.../RegionServerCommsManager.cs | 24 +++++++++++++++++++++-
Common/OpenSim.Framework/IRegionCommsHost.cs | 5 ++++-
OpenSim/OpenSim.RegionServer/RegionServerBase.cs | 2 +-
OpenSim/OpenSim/OpenSimMain.cs | 4 ++--
4 files changed, 30 insertions(+), 5 deletions(-)
diff --git a/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs b/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs
index 960bbef..c5413d2 100644
--- a/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs
+++ b/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs
@@ -18,6 +18,15 @@ namespace OpenGrid.Framework.Communications
///
///
///
+ ///
+ public virtual RegionInfo LoadRegionConfigFromGridServer()
+ {
+ return null;
+ }
+
+ ///
+ ///
+ ///
///
///
public virtual IRegionCommsHost RegisterRegion(RegionInfo regionInfo)
@@ -25,7 +34,20 @@ namespace OpenGrid.Framework.Communications
return null;
}
- public virtual bool InformNeighbourChildAgent()
+ ///
+ ///
+ ///
+ ///
+ public virtual bool InformNeighbourOfChildAgent()
+ {
+ return false;
+ }
+
+ ///
+ ///
+ ///
+ ///
+ public virtual bool AvatarCrossingToRegion()
{
return false;
}
diff --git a/Common/OpenSim.Framework/IRegionCommsHost.cs b/Common/OpenSim.Framework/IRegionCommsHost.cs
index 367ecfc..006661d 100644
--- a/Common/OpenSim.Framework/IRegionCommsHost.cs
+++ b/Common/OpenSim.Framework/IRegionCommsHost.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Text;
+using OpenSim.Framework.Interfaces;
namespace OpenSim.Framework
{
@@ -8,6 +9,8 @@ namespace OpenSim.Framework
public interface IRegionCommsHost
{
- event ExpectUserDelegate ExpectUser;
+ event ExpectUserDelegate OnExpectUser;
+ event GenericCall2 OnExpectChildAgent;
+ event GenericCall2 OnAvatarCrossingIntoRegion;
}
}
diff --git a/OpenSim/OpenSim.RegionServer/RegionServerBase.cs b/OpenSim/OpenSim.RegionServer/RegionServerBase.cs
index b7129c5..e2e3512 100644
--- a/OpenSim/OpenSim.RegionServer/RegionServerBase.cs
+++ b/OpenSim/OpenSim.RegionServer/RegionServerBase.cs
@@ -87,7 +87,7 @@ namespace OpenSim
}
- protected virtual void SetupLocalWorld()
+ protected virtual void SetupWorld()
{
}
diff --git a/OpenSim/OpenSim/OpenSimMain.cs b/OpenSim/OpenSim/OpenSimMain.cs
index 95b8e10..7c3bca4 100644
--- a/OpenSim/OpenSim/OpenSimMain.cs
+++ b/OpenSim/OpenSim/OpenSimMain.cs
@@ -112,7 +112,7 @@ namespace OpenSim
this.physManager = new OpenSim.Physics.Manager.PhysicsManager();
this.physManager.LoadPlugins();
- this.SetupLocalWorld();
+ this.SetupWorld();
m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Main.cs:Startup() - Initialising HTTP server");
@@ -178,7 +178,7 @@ namespace OpenSim
}
}
- protected override void SetupLocalWorld()
+ protected override void SetupWorld()
{
IGenericConfig regionConfig;
World LocalWorld;
--
cgit v1.1