From e725e485fa72bcdba03df9ed7d0b007b6e548eb3 Mon Sep 17 00:00:00 2001 From: diva Date: Fri, 20 Feb 2009 00:18:18 +0000 Subject: This moves the 2 friends-related interregion messages out of OGS1 and into the FriendsModule. No functional changes. Those messages were sent over XMLRPC, and that's how it continues to be for now. Just moving this couple of interregion messages out of OGS1, in preparation for the big shlep ahead. --- .../Communications/CommunicationsManager.cs | 10 ------ .../Communications/IInterRegionCommunications.cs | 36 ---------------------- 2 files changed, 46 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Communications/CommunicationsManager.cs b/OpenSim/Framework/Communications/CommunicationsManager.cs index 936e583..e0e07b2 100644 --- a/OpenSim/Framework/Communications/CommunicationsManager.cs +++ b/OpenSim/Framework/Communications/CommunicationsManager.cs @@ -324,16 +324,6 @@ namespace OpenSim.Framework.Communications return m_messageService.GetFriendRegionInfos(uuids); } - public List InformFriendsInOtherRegion(UUID agentId, ulong destRegionHandle, List friends, bool online) - { - return m_interRegion.InformFriendsInOtherRegion(agentId, destRegionHandle, friends, online); - } - - public bool TriggerTerminateFriend(ulong regionHandle, UUID agentID, UUID exFriendID) - { - return m_interRegion.TriggerTerminateFriend(regionHandle, agentID, exFriendID); - } - #endregion #region Packet Handlers diff --git a/OpenSim/Framework/Communications/IInterRegionCommunications.cs b/OpenSim/Framework/Communications/IInterRegionCommunications.cs index 6b589b9..2d4eb53 100644 --- a/OpenSim/Framework/Communications/IInterRegionCommunications.cs +++ b/OpenSim/Framework/Communications/IInterRegionCommunications.cs @@ -48,41 +48,5 @@ namespace OpenSim.Framework.Communications bool TellRegionToCloseChildConnection(ulong regionHandle, UUID agentID); - /// - /// Try to inform friends in the given region about online status of agent. - /// - /// - /// The of the agent. - /// - /// - /// The regionHandle of the region. - /// - /// - /// A List of s of friends to inform in the given region. - /// - /// - /// Is the agent online or offline - /// - /// - /// A list of friends that couldn't be reached on this region. - /// - List InformFriendsInOtherRegion(UUID agentId, ulong destRegionHandle, List friends, bool online); - - /// - /// Send TerminateFriend of exFriendID to agent agentID in region regionHandle. - /// - /// - /// The handle of the region agentID is in (hopefully). - /// - /// - /// The agent to send the packet to. - /// - /// - /// The ex-friends ID. - /// - /// - /// Whether the packet could be sent. False if the agent couldn't be found in the region. - /// - bool TriggerTerminateFriend(ulong regionHandle, UUID agentID, UUID exFriendID); } } -- cgit v1.1