From 33330297d603a66cc157baa21c81328edc893e51 Mon Sep 17 00:00:00 2001 From: diva Date: Fri, 20 Feb 2009 03:39:50 +0000 Subject: THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older versions will have a hard time communicating with sims on this release and later, especially if they haven't transitioned to RESTComms at all. There's still some cleanup to do on assorted data structures, but the main functional change here is that sims no longer listen on remoting ports. --- OpenSim/Region/Framework/Scenes/Scene.cs | 28 ---------------------- .../Framework/Scenes/SceneCommunicationService.cs | 16 ------------- 2 files changed, 44 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 1f6d647..aa8b51a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -2112,21 +2112,6 @@ namespace OpenSim.Region.Framework.Scenes appearance = new AvatarAppearance(); } - //try - //{ - // if (m_AvatarFactory != null) - // { - // if (m_AvatarFactory.TryGetAvatarAppearance(client.AgentId, out appearance)) - // return; - // } - //} - //catch (Exception e) - //{ - // m_log.ErrorFormat("[APPEARANCE]: Problem fetching appearance for avatar {0}, {1}", - // client.Name, e); - //} - - //m_log.Warn("[APPEARANCE]: Appearance not found, returning default"); } /// @@ -2692,19 +2677,6 @@ namespace OpenSim.Region.Framework.Scenes } } - /// - /// Agent is crossing the border into a neighbouring region. Tell the neighbour about it! - /// - /// - /// - /// - /// - /// - public bool InformNeighbourOfCrossing(ulong regionHandle, UUID agentID, Vector3 position, bool isFlying) - { - return m_sceneGridService.CrossToNeighbouringRegion(regionHandle, agentID, position, isFlying); - } - public void CrossAgentToNewRegion(ScenePresence agent, bool isFlying) { m_sceneGridService.CrossAgentToNewRegion(this, agent, isFlying); diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 8271829..9a6bd87 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs @@ -99,7 +99,6 @@ namespace OpenSim.Region.Framework.Scenes m_regionInfo = regionInfos; m_commsProvider.GridService.gdebugRegionName = regionInfos.RegionName; - m_commsProvider.InterRegion.rdebugRegionName = regionInfos.RegionName; regionCommsHost = m_commsProvider.GridService.RegisterRegion(m_regionInfo); if (regionCommsHost != null) @@ -1017,16 +1016,6 @@ namespace OpenSim.Region.Framework.Scenes { return previousNeighbours.FindAll(delegate(ulong handle) { return !currentNeighbours.Contains(handle); }); } - /// - /// Inform a neighbouring region that an avatar is about to cross into it. - /// - /// - /// - /// - public bool CrossToNeighbouringRegion(ulong regionhandle, UUID agentID, Vector3 position, bool isFlying) - { - return m_commsProvider.InterRegion.ExpectAvatarCrossing(regionhandle, agentID, position, isFlying); - } public void CrossAgentToNewRegion(Scene scene, ScenePresence agent, bool isFlying) { @@ -1205,11 +1194,6 @@ namespace OpenSim.Region.Framework.Scenes } - public bool PrimCrossToNeighboringRegion(ulong regionhandle, UUID primID, string objData, int XMLMethod) - { - return m_commsProvider.InterRegion.InformRegionOfPrimCrossing(regionhandle, primID, objData, XMLMethod); - } - public Dictionary GetGridSettings() { return m_commsProvider.GridService.GetGridSettings(); -- cgit v1.1