diff options
Diffstat (limited to 'OpenSim/Region')
4 files changed, 261 insertions, 15 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs index 1a422fd..d4168fe 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs | |||
@@ -41,7 +41,7 @@ using OpenMetaverse; | |||
41 | 41 | ||
42 | namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | 42 | namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory |
43 | { | 43 | { |
44 | public class HGInventoryBroker : ISharedRegionModule, IInventoryService | 44 | public class HGInventoryBroker : InventoryCache, ISharedRegionModule, IInventoryService |
45 | { | 45 | { |
46 | private static readonly ILog m_log = | 46 | private static readonly ILog m_log = |
47 | LogManager.GetLogger( | 47 | LogManager.GetLogger( |
@@ -122,6 +122,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
122 | 122 | ||
123 | m_LocalGridInventoryURI = inventoryConfig.GetString("InventoryServerURI", string.Empty); | 123 | m_LocalGridInventoryURI = inventoryConfig.GetString("InventoryServerURI", string.Empty); |
124 | 124 | ||
125 | Init(source); | ||
126 | |||
125 | m_Enabled = true; | 127 | m_Enabled = true; |
126 | m_log.Info("[HG INVENTORY CONNECTOR]: HG inventory broker enabled"); | 128 | m_log.Info("[HG INVENTORY CONNECTOR]: HG inventory broker enabled"); |
127 | } | 129 | } |
@@ -136,7 +138,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
136 | { | 138 | { |
137 | } | 139 | } |
138 | 140 | ||
139 | public void AddRegion(Scene scene) | 141 | public override void AddRegion(Scene scene) |
140 | { | 142 | { |
141 | if (!m_Enabled) | 143 | if (!m_Enabled) |
142 | return; | 144 | return; |
@@ -154,10 +156,12 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
154 | } | 156 | } |
155 | 157 | ||
156 | scene.RegisterModuleInterface<IInventoryService>(this); | 158 | scene.RegisterModuleInterface<IInventoryService>(this); |
159 | base.AddRegion(scene); | ||
157 | } | 160 | } |
158 | 161 | ||
159 | public void RemoveRegion(Scene scene) | 162 | public override void RemoveRegion(Scene scene) |
160 | { | 163 | { |
164 | base.RemoveRegion(scene); | ||
161 | } | 165 | } |
162 | 166 | ||
163 | public void RegionLoaded(Scene scene) | 167 | public void RegionLoaded(Scene scene) |
@@ -165,7 +169,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
165 | if (!m_Enabled) | 169 | if (!m_Enabled) |
166 | return; | 170 | return; |
167 | 171 | ||
168 | m_log.InfoFormat("[INVENTORY CONNECTOR]: Enabled HG inventory for region {0}", scene.RegionInfo.RegionName); | 172 | m_log.InfoFormat("[HG INVENTORY CONNECTOR]: Enabled HG inventory for region {0}", scene.RegionInfo.RegionName); |
169 | 173 | ||
170 | } | 174 | } |
171 | 175 | ||
@@ -201,6 +205,72 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
201 | } | 205 | } |
202 | } | 206 | } |
203 | 207 | ||
208 | // Inherited. See base | ||
209 | //public override InventoryFolderBase GetFolderForType(UUID userID, AssetType type) | ||
210 | //{ | ||
211 | // if (IsLocalGridUser(userID)) | ||
212 | // return m_GridService.GetFolderForType(userID, type); | ||
213 | // else | ||
214 | // { | ||
215 | // UUID sessionID = GetSessionID(userID); | ||
216 | // string uri = GetUserInventoryURI(userID) + "/" + userID.ToString(); | ||
217 | // // !!!!!! | ||
218 | // return null; | ||
219 | // //return m_HGService.GetFolderForType(uri, sessionID, type); | ||
220 | // } | ||
221 | //} | ||
222 | |||
223 | public InventoryCollection GetFolderContent(UUID userID, UUID folderID) | ||
224 | { | ||
225 | if (IsLocalGridUser(userID)) | ||
226 | return m_GridService.GetFolderContent(userID, folderID); | ||
227 | else | ||
228 | { | ||
229 | UUID sessionID = GetSessionID(userID); | ||
230 | string uri = GetUserInventoryURI(userID) + "/" + userID.ToString(); | ||
231 | return m_HGService.GetFolderContent(uri, folderID, sessionID); | ||
232 | } | ||
233 | } | ||
234 | |||
235 | public override Dictionary<AssetType, InventoryFolderBase> GetSystemFolders(UUID userID) | ||
236 | { | ||
237 | if (IsLocalGridUser(userID)) | ||
238 | return GetSystemFoldersLocal(userID); | ||
239 | else | ||
240 | { | ||
241 | UUID sessionID = GetSessionID(userID); | ||
242 | string uri = GetUserInventoryURI(userID) + "/" + userID.ToString(); | ||
243 | return m_HGService.GetSystemFolders(uri, sessionID); | ||
244 | } | ||
245 | } | ||
246 | |||
247 | private Dictionary<AssetType, InventoryFolderBase> GetSystemFoldersLocal(UUID userID) | ||
248 | { | ||
249 | InventoryFolderBase root = m_GridService.GetRootFolder(userID); | ||
250 | if (root != null) | ||
251 | { | ||
252 | InventoryCollection content = m_GridService.GetFolderContent(userID, root.ID); | ||
253 | if (content != null) | ||
254 | { | ||
255 | Dictionary<AssetType, InventoryFolderBase> folders = new Dictionary<AssetType, InventoryFolderBase>(); | ||
256 | foreach (InventoryFolderBase folder in content.Folders) | ||
257 | { | ||
258 | //m_log.DebugFormat("[HG INVENTORY CONNECTOR]: scanning folder type {0}", (AssetType)folder.Type); | ||
259 | if ((folder.Type != (short)AssetType.Folder) && (folder.Type != (short)AssetType.Unknown)) | ||
260 | folders[(AssetType)folder.Type] = folder; | ||
261 | } | ||
262 | m_log.DebugFormat("[HG INVENTORY CONNECTOR]: System folders count for {0}: {1}", userID, folders.Count); | ||
263 | return folders; | ||
264 | } | ||
265 | m_log.DebugFormat("[HG INVENTORY CONNECTOR]: Root folder content not found for {0}", userID); | ||
266 | |||
267 | } | ||
268 | |||
269 | m_log.DebugFormat("[HG INVENTORY CONNECTOR]: Root folder not found for {0}", userID); | ||
270 | |||
271 | return new Dictionary<AssetType, InventoryFolderBase>(); | ||
272 | } | ||
273 | |||
204 | public List<InventoryItemBase> GetFolderItems(UUID userID, UUID folderID) | 274 | public List<InventoryItemBase> GetFolderItems(UUID userID, UUID folderID) |
205 | { | 275 | { |
206 | return new List<InventoryItemBase>(); | 276 | return new List<InventoryItemBase>(); |
@@ -346,7 +416,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
346 | return false; | 416 | return false; |
347 | } | 417 | } |
348 | 418 | ||
349 | public InventoryFolderBase RequestRootFolder(UUID userID) | 419 | public InventoryFolderBase GetRootFolder(UUID userID) |
350 | { | 420 | { |
351 | return null; | 421 | return null; |
352 | } | 422 | } |
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs new file mode 100644 index 0000000..57c2091 --- /dev/null +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs | |||
@@ -0,0 +1,108 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Reflection; | ||
4 | |||
5 | using OpenSim.Framework; | ||
6 | using OpenSim.Framework.Client; | ||
7 | using OpenSim.Region.Framework.Scenes; | ||
8 | |||
9 | using OpenMetaverse; | ||
10 | using Nini.Config; | ||
11 | using log4net; | ||
12 | |||
13 | namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | ||
14 | { | ||
15 | public abstract class InventoryCache | ||
16 | { | ||
17 | private static readonly ILog m_log = | ||
18 | LogManager.GetLogger( | ||
19 | MethodBase.GetCurrentMethod().DeclaringType); | ||
20 | |||
21 | protected List<Scene> m_Scenes; | ||
22 | |||
23 | // The cache proper | ||
24 | protected Dictionary<UUID, Dictionary<AssetType, InventoryFolderBase>> m_InventoryCache; | ||
25 | |||
26 | protected virtual void Init(IConfigSource source) | ||
27 | { | ||
28 | m_Scenes = new List<Scene>(); | ||
29 | m_InventoryCache = new Dictionary<UUID, Dictionary<AssetType, InventoryFolderBase>>(); | ||
30 | } | ||
31 | |||
32 | public virtual void AddRegion(Scene scene) | ||
33 | { | ||
34 | m_Scenes.Add(scene); | ||
35 | scene.EventManager.OnMakeRootAgent += OnMakeRootAgent; | ||
36 | scene.EventManager.OnClientClosed += OnClientClosed; | ||
37 | } | ||
38 | |||
39 | public virtual void RemoveRegion(Scene scene) | ||
40 | { | ||
41 | if ((m_Scenes != null) && m_Scenes.Contains(scene)) | ||
42 | { | ||
43 | m_Scenes.Remove(scene); | ||
44 | } | ||
45 | } | ||
46 | |||
47 | void OnMakeRootAgent(ScenePresence presence) | ||
48 | { | ||
49 | // Get system folders | ||
50 | |||
51 | // First check if they're here already | ||
52 | lock (m_InventoryCache) | ||
53 | { | ||
54 | if (m_InventoryCache.ContainsKey(presence.UUID)) | ||
55 | { | ||
56 | m_log.DebugFormat("[INVENTORY CACHE]: OnMakeRootAgent, system folders for {0} {1} already in cache", presence.Firstname, presence.Lastname); | ||
57 | return; | ||
58 | } | ||
59 | } | ||
60 | |||
61 | // If not, go get them and place them in the cache | ||
62 | Dictionary<AssetType, InventoryFolderBase> folders = GetSystemFolders(presence.UUID); | ||
63 | m_log.DebugFormat("[INVENTORY CACHE]: OnMakeRootAgent, fetched system folders for {0} {1}: count {2}", | ||
64 | presence.Firstname, presence.Lastname, folders.Count); | ||
65 | if (folders.Count > 0) | ||
66 | lock (m_InventoryCache) | ||
67 | m_InventoryCache.Add(presence.UUID, folders); | ||
68 | } | ||
69 | |||
70 | void OnClientClosed(UUID clientID, Scene scene) | ||
71 | { | ||
72 | ScenePresence sp = null; | ||
73 | foreach (Scene s in m_Scenes) | ||
74 | { | ||
75 | s.TryGetAvatar(clientID, out sp); | ||
76 | if (sp != null) | ||
77 | { | ||
78 | m_log.DebugFormat("[INVENTORY CACHE]: OnClientClosed, but user {0} still in sim. Keeping system folders in cache", clientID); | ||
79 | return; | ||
80 | } | ||
81 | } | ||
82 | |||
83 | m_log.DebugFormat("[INVENTORY CACHE]: OnClientClosed, user {0} out of sim. Dropping system folders", clientID); | ||
84 | // Drop system folders | ||
85 | lock (m_InventoryCache) | ||
86 | if (m_InventoryCache.ContainsKey(clientID)) | ||
87 | m_InventoryCache.Remove(clientID); | ||
88 | |||
89 | } | ||
90 | |||
91 | public abstract Dictionary<AssetType, InventoryFolderBase> GetSystemFolders(UUID userID); | ||
92 | |||
93 | public InventoryFolderBase GetFolderForType(UUID userID, AssetType type) | ||
94 | { | ||
95 | Dictionary<AssetType, InventoryFolderBase> folders = null; | ||
96 | lock (m_InventoryCache) | ||
97 | { | ||
98 | m_InventoryCache.TryGetValue(userID, out folders); | ||
99 | } | ||
100 | if ((folders != null) && folders.ContainsKey(type)) | ||
101 | { | ||
102 | return folders[type]; | ||
103 | } | ||
104 | |||
105 | return null; | ||
106 | } | ||
107 | } | ||
108 | } | ||
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs index f595b02..98e30ce 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs | |||
@@ -41,7 +41,7 @@ using OpenMetaverse; | |||
41 | 41 | ||
42 | namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | 42 | namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory |
43 | { | 43 | { |
44 | public class LocalInventoryServicesConnector : ISharedRegionModule, IInventoryService | 44 | public class LocalInventoryServicesConnector : InventoryCache, ISharedRegionModule, IInventoryService |
45 | { | 45 | { |
46 | private static readonly ILog m_log = | 46 | private static readonly ILog m_log = |
47 | LogManager.GetLogger( | 47 | LogManager.GetLogger( |
@@ -108,6 +108,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
108 | // m_InventoryService.AddPlugin(new OspInventoryWrapperPlugin(plugin, this)); | 108 | // m_InventoryService.AddPlugin(new OspInventoryWrapperPlugin(plugin, this)); |
109 | //} | 109 | //} |
110 | 110 | ||
111 | Init(source); | ||
112 | |||
111 | m_Enabled = true; | 113 | m_Enabled = true; |
112 | m_log.Info("[INVENTORY CONNECTOR]: Local inventory connector enabled"); | 114 | m_log.Info("[INVENTORY CONNECTOR]: Local inventory connector enabled"); |
113 | } | 115 | } |
@@ -122,7 +124,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
122 | { | 124 | { |
123 | } | 125 | } |
124 | 126 | ||
125 | public void AddRegion(Scene scene) | 127 | public override void AddRegion(Scene scene) |
126 | { | 128 | { |
127 | if (!m_Enabled) | 129 | if (!m_Enabled) |
128 | return; | 130 | return; |
@@ -139,10 +141,12 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
139 | // "[INVENTORY CONNECTOR]: Registering IInventoryService to scene {0}", scene.RegionInfo.RegionName); | 141 | // "[INVENTORY CONNECTOR]: Registering IInventoryService to scene {0}", scene.RegionInfo.RegionName); |
140 | 142 | ||
141 | scene.RegisterModuleInterface<IInventoryService>(this); | 143 | scene.RegisterModuleInterface<IInventoryService>(this); |
144 | base.AddRegion(scene); | ||
142 | } | 145 | } |
143 | 146 | ||
144 | public void RemoveRegion(Scene scene) | 147 | public override void RemoveRegion(Scene scene) |
145 | { | 148 | { |
149 | base.RemoveRegion(scene); | ||
146 | } | 150 | } |
147 | 151 | ||
148 | public void RegionLoaded(Scene scene) | 152 | public void RegionLoaded(Scene scene) |
@@ -176,6 +180,39 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
176 | m_InventoryService.GetUserInventory(userID, callback); | 180 | m_InventoryService.GetUserInventory(userID, callback); |
177 | } | 181 | } |
178 | 182 | ||
183 | // Inherited. See base | ||
184 | //public InventoryFolderBase GetFolderForType(UUID userID, AssetType type) | ||
185 | //{ | ||
186 | // return m_InventoryService.GetFolderForType(userID, type); | ||
187 | //} | ||
188 | |||
189 | public override Dictionary<AssetType, InventoryFolderBase> GetSystemFolders(UUID userID) | ||
190 | { | ||
191 | InventoryFolderBase root = GetRootFolder(userID); | ||
192 | if (root != null) | ||
193 | { | ||
194 | InventoryCollection content = GetFolderContent(userID, root.ID); | ||
195 | if (content != null) | ||
196 | { | ||
197 | Dictionary<AssetType, InventoryFolderBase> folders = new Dictionary<AssetType, InventoryFolderBase>(); | ||
198 | foreach (InventoryFolderBase folder in content.Folders) | ||
199 | { | ||
200 | if ((folder.Type != (short)AssetType.Folder) && (folder.Type != (short)AssetType.Unknown)) | ||
201 | folders[(AssetType)folder.Type] = folder; | ||
202 | } | ||
203 | return folders; | ||
204 | } | ||
205 | } | ||
206 | m_log.WarnFormat("[INVENTORY CONNECTOR]: System folders for {0} not found", userID); | ||
207 | return new Dictionary<AssetType, InventoryFolderBase>(); | ||
208 | } | ||
209 | |||
210 | public InventoryCollection GetFolderContent(UUID userID, UUID folderID) | ||
211 | { | ||
212 | return m_InventoryService.GetFolderContent(userID, folderID); | ||
213 | } | ||
214 | |||
215 | |||
179 | public List<InventoryItemBase> GetFolderItems(UUID userID, UUID folderID) | 216 | public List<InventoryItemBase> GetFolderItems(UUID userID, UUID folderID) |
180 | { | 217 | { |
181 | return m_InventoryService.GetFolderItems(userID, folderID); | 218 | return m_InventoryService.GetFolderItems(userID, folderID); |
@@ -276,9 +313,9 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
276 | /// </summary> | 313 | /// </summary> |
277 | /// <param name="userID"></param> | 314 | /// <param name="userID"></param> |
278 | /// <returns>null if no root folder was found</returns> | 315 | /// <returns>null if no root folder was found</returns> |
279 | public InventoryFolderBase RequestRootFolder(UUID userID) | 316 | public InventoryFolderBase GetRootFolder(UUID userID) |
280 | { | 317 | { |
281 | return m_InventoryService.RequestRootFolder(userID); | 318 | return m_InventoryService.GetRootFolder(userID); |
282 | } | 319 | } |
283 | 320 | ||
284 | public List<InventoryItemBase> GetActiveGestures(UUID userId) | 321 | public List<InventoryItemBase> GetActiveGestures(UUID userId) |
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs index 107b588..dceda38 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs | |||
@@ -40,7 +40,7 @@ using OpenMetaverse; | |||
40 | 40 | ||
41 | namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | 41 | namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory |
42 | { | 42 | { |
43 | public class RemoteInventoryServicesConnector : ISharedRegionModule, IInventoryService | 43 | public class RemoteInventoryServicesConnector : InventoryCache, ISharedRegionModule, IInventoryService |
44 | { | 44 | { |
45 | private static readonly ILog m_log = | 45 | private static readonly ILog m_log = |
46 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 46 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
@@ -69,9 +69,10 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
69 | Init(source); | 69 | Init(source); |
70 | } | 70 | } |
71 | 71 | ||
72 | private void Init(IConfigSource source) | 72 | protected override void Init(IConfigSource source) |
73 | { | 73 | { |
74 | m_RemoteConnector = new InventoryServicesConnector(source); | 74 | m_RemoteConnector = new InventoryServicesConnector(source); |
75 | base.Init(source); | ||
75 | } | 76 | } |
76 | 77 | ||
77 | 78 | ||
@@ -101,7 +102,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
101 | { | 102 | { |
102 | } | 103 | } |
103 | 104 | ||
104 | public void AddRegion(Scene scene) | 105 | public override void AddRegion(Scene scene) |
105 | { | 106 | { |
106 | if (!m_Enabled) | 107 | if (!m_Enabled) |
107 | return; | 108 | return; |
@@ -116,10 +117,12 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
116 | } | 117 | } |
117 | 118 | ||
118 | scene.RegisterModuleInterface<IInventoryService>(this); | 119 | scene.RegisterModuleInterface<IInventoryService>(this); |
120 | base.AddRegion(scene); | ||
119 | } | 121 | } |
120 | 122 | ||
121 | public void RemoveRegion(Scene scene) | 123 | public override void RemoveRegion(Scene scene) |
122 | { | 124 | { |
125 | base.RemoveRegion(scene); | ||
123 | } | 126 | } |
124 | 127 | ||
125 | public void RegionLoaded(Scene scene) | 128 | public void RegionLoaded(Scene scene) |
@@ -168,6 +171,34 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
168 | 171 | ||
169 | } | 172 | } |
170 | 173 | ||
174 | // inherited. See base class | ||
175 | // public InventoryFolderBase GetFolderForType(UUID userID, AssetType type) | ||
176 | |||
177 | public override Dictionary<AssetType, InventoryFolderBase> GetSystemFolders(UUID userID) | ||
178 | { | ||
179 | UUID sessionID = GetSessionID(userID); | ||
180 | return m_RemoteConnector.GetSystemFolders(userID.ToString(), sessionID); | ||
181 | } | ||
182 | |||
183 | public InventoryCollection GetFolderContent(UUID userID, UUID folderID) | ||
184 | { | ||
185 | UUID sessionID = GetSessionID(userID); | ||
186 | try | ||
187 | { | ||
188 | return m_RemoteConnector.GetFolderContent(userID.ToString(), folderID, sessionID); | ||
189 | } | ||
190 | catch (Exception e) | ||
191 | { | ||
192 | m_log.ErrorFormat("[INVENTORY CONNECTOR]: GetFolderContent operation failed, {0} {1}", | ||
193 | e.Source, e.Message); | ||
194 | } | ||
195 | InventoryCollection nullCollection = new InventoryCollection(); | ||
196 | nullCollection.Folders = new List<InventoryFolderBase>(); | ||
197 | nullCollection.Items = new List<InventoryItemBase>(); | ||
198 | nullCollection.UserID = userID; | ||
199 | return nullCollection; | ||
200 | } | ||
201 | |||
171 | public List<InventoryItemBase> GetFolderItems(UUID userID, UUID folderID) | 202 | public List<InventoryItemBase> GetFolderItems(UUID userID, UUID folderID) |
172 | { | 203 | { |
173 | return new List<InventoryItemBase>(); | 204 | return new List<InventoryItemBase>(); |
@@ -259,7 +290,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
259 | return false; | 290 | return false; |
260 | } | 291 | } |
261 | 292 | ||
262 | public InventoryFolderBase RequestRootFolder(UUID userID) | 293 | public InventoryFolderBase GetRootFolder(UUID userID) |
263 | { | 294 | { |
264 | return null; | 295 | return null; |
265 | } | 296 | } |