diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/IAvatarData.cs (renamed from OpenSim/Grid/Framework/IMessagingServerDiscovery.cs) | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/OpenSim/Grid/Framework/IMessagingServerDiscovery.cs b/OpenSim/Data/IAvatarData.cs index c996f4f..0a18e21 100644 --- a/OpenSim/Grid/Framework/IMessagingServerDiscovery.cs +++ b/OpenSim/Data/IAvatarData.cs | |||
@@ -27,14 +27,23 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using OpenSim.Framework.Servers; | 30 | using OpenMetaverse; |
31 | using OpenSim.Framework; | ||
31 | 32 | ||
32 | namespace OpenSim.Grid.Framework | 33 | namespace OpenSim.Data |
33 | { | 34 | { |
34 | public interface IMessagingServerDiscovery | 35 | // This MUST be a ref type! |
36 | public class AvatarBaseData | ||
35 | { | 37 | { |
36 | List<MessageServerInfo> GetMessageServersList(); | 38 | public UUID PrincipalID; |
37 | void RegisterMessageServer(MessageServerInfo m); | 39 | public Dictionary<string, string> Data; |
38 | void DeRegisterMessageServer(MessageServerInfo m); | 40 | } |
41 | |||
42 | public interface IAvatarData | ||
43 | { | ||
44 | AvatarBaseData[] Get(string field, string val); | ||
45 | bool Store(AvatarBaseData data); | ||
46 | bool Delete(UUID principalID, string name); | ||
47 | bool Delete(string field, string val); | ||
39 | } | 48 | } |
40 | } | 49 | } |