From fd1a0a13749338ead01eddf59663704aae539ea7 Mon Sep 17 00:00:00 2001 From: MW Date: Sun, 10 Jun 2007 19:08:51 +0000 Subject: Added InterSimComms (Likely to be renamed) to the commsManager and moved the InformClientOfNeighbours method into that. --- OpenSim/OpenSim.Region/World/World.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/OpenSim.Region/World/World.cs') diff --git a/OpenSim/OpenSim.Region/World/World.cs b/OpenSim/OpenSim.Region/World/World.cs index cf0382a..aad09b3 100644 --- a/OpenSim/OpenSim.Region/World/World.cs +++ b/OpenSim/OpenSim.Region/World/World.cs @@ -544,7 +544,7 @@ namespace OpenSim.Region protected void InformClientOfNeighbours(IClientAPI remoteClient) { // Console.WriteLine("informing client of neighbouring regions"); - List neighbours = this.commsManager.gridServer.RequestNeighbours(this.m_regInfo); + List neighbours = this.commsManager.GridServer.RequestNeighbours(this.m_regInfo); //Console.WriteLine("we have " + neighbours.Count + " neighbouring regions"); if (neighbours != null) @@ -556,7 +556,7 @@ namespace OpenSim.Region agent.BaseFolder = LLUUID.Zero; agent.InventoryFolder = LLUUID.Zero; agent.startpos = new LLVector3(128, 128, 70); - this.commsManager.InformNeighbourOfChildAgent(neighbours[i].RegionHandle, agent); + this.commsManager.InterSims.InformNeighbourOfChildAgent(neighbours[i].RegionHandle, agent); remoteClient.InformClientOfNeighbour(neighbours[i].RegionHandle, System.Net.IPAddress.Parse(neighbours[i].IPListenAddr), (ushort)neighbours[i].IPListenPort); } } @@ -617,7 +617,7 @@ namespace OpenSim.Region /// public void RegisterRegionWithComms() { - this.regionCommsHost = this.commsManager.gridServer.RegisterRegion(this.m_regInfo); + this.regionCommsHost = this.commsManager.GridServer.RegisterRegion(this.m_regInfo); if (this.regionCommsHost != null) { this.regionCommsHost.OnExpectUser += new ExpectUserDelegate(this.NewUserConnection); -- cgit v1.1