diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/IFriendsService.cs (renamed from OpenSim/Grid/Framework/IMessagingServerDiscovery.cs) | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/OpenSim/Grid/Framework/IMessagingServerDiscovery.cs b/OpenSim/Services/Interfaces/IFriendsService.cs index c996f4f..811203c 100644 --- a/OpenSim/Grid/Framework/IMessagingServerDiscovery.cs +++ b/OpenSim/Services/Interfaces/IFriendsService.cs | |||
@@ -25,16 +25,24 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using OpenMetaverse; |
29 | using OpenSim.Framework; | ||
29 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
30 | using OpenSim.Framework.Servers; | ||
31 | 31 | ||
32 | namespace OpenSim.Grid.Framework | 32 | namespace OpenSim.Services.Interfaces |
33 | { | 33 | { |
34 | public interface IMessagingServerDiscovery | 34 | public struct FriendInfo |
35 | { | 35 | { |
36 | List<MessageServerInfo> GetMessageServersList(); | 36 | public UUID PrincipalID; |
37 | void RegisterMessageServer(MessageServerInfo m); | 37 | public string Friend; |
38 | void DeRegisterMessageServer(MessageServerInfo m); | 38 | public int MyFlags; |
39 | public int TheirFlags; | ||
40 | } | ||
41 | |||
42 | public interface IFriendsService | ||
43 | { | ||
44 | FriendInfo[] GetFriends(UUID PrincipalID); | ||
45 | bool StoreFriend(UUID PrincipalID, string Friend, int flags); | ||
46 | bool Delete(UUID PrincipalID, string Friend); | ||
39 | } | 47 | } |
40 | } | 48 | } |