aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/CachedUserInfo.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/CachedUserInfo.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
index 3d7ada3..9a7ce42 100644
--- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
+++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
@@ -332,6 +332,29 @@ namespace OpenSim.Framework.Communications.Cache
332 /// </summary> 332 /// </summary>
333 public interface IInventoryRequest 333 public interface IInventoryRequest
334 { 334 {
335 /// <summary>
336 /// This is the method executed once we have received the user's inventory by which the request can be fulfilled.
337 /// </summary>
335 void Execute(); 338 void Execute();
336 } 339 }
340
341 /// <summary>
342 /// Generic inventory request
343 /// </summary>
344 public class InventoryRequest : IInventoryRequest
345 {
346 private Delegate m_delegat;
347 private Object[] m_args;
348
349 internal InventoryRequest(Delegate delegat, Object[] args)
350 {
351 m_delegat = delegat;
352 m_args = args;
353 }
354
355 public void Execute()
356 {
357 m_delegat.DynamicInvoke(m_args);
358 }
359 }
337} 360}