aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/IGridUserData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/IGridUserData.cs (renamed from OpenSim/Grid/Framework/IMessagingServerDiscovery.cs)24
1 files changed, 17 insertions, 7 deletions
diff --git a/OpenSim/Grid/Framework/IMessagingServerDiscovery.cs b/OpenSim/Data/IGridUserData.cs
index c996f4f..bd7a435 100644
--- a/OpenSim/Grid/Framework/IMessagingServerDiscovery.cs
+++ b/OpenSim/Data/IGridUserData.cs
@@ -27,14 +27,24 @@
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using OpenSim.Framework.Servers; 30using OpenMetaverse;
31using OpenSim.Framework;
31 32
32namespace OpenSim.Grid.Framework 33namespace OpenSim.Data
33{ 34{
34 public interface IMessagingServerDiscovery 35 // This MUST be a ref type!
36 public class GridUserData
35 { 37 {
36 List<MessageServerInfo> GetMessageServersList(); 38 public string UserID;
37 void RegisterMessageServer(MessageServerInfo m); 39 public Dictionary<string, string> Data;
38 void DeRegisterMessageServer(MessageServerInfo m);
39 } 40 }
40} 41
42 /// <summary>
43 /// An interface for connecting to the user grid datastore
44 /// </summary>
45 public interface IGridUserData
46 {
47 GridUserData GetGridUserData(string userID);
48 bool StoreGridUserData(GridUserData data);
49 }
50} \ No newline at end of file