From 7ca61e01742b53033009f10c45e3ea0d0ef91315 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Fri, 4 Sep 2009 21:10:56 +0100
Subject: Add ids to iar requests Stop save iar test wrongly relying on thread
pulsing (still disabled though)
---
OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
(limited to 'OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs')
diff --git a/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs b/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs
index df6650f..457b5b8 100644
--- a/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs
@@ -34,13 +34,14 @@ namespace OpenSim.Region.Framework.Interfaces
///
/// Used for the OnInventoryArchiveSaved event.
///
+ /// Request id
/// true if the save succeeded, false otherwise
/// The user for whom the save was conducted
/// The inventory path saved
/// The stream to which the archive was saved
/// Contains the exception generated if the save did not succeed
public delegate void InventoryArchiveSaved(
- bool succeeded, CachedUserInfo userInfo, string invPath, Stream saveStream, Exception reportedException);
+ Guid id, bool succeeded, CachedUserInfo userInfo, string invPath, Stream saveStream, Exception reportedException);
public interface IInventoryArchiverModule
{
@@ -61,10 +62,11 @@ namespace OpenSim.Region.Framework.Interfaces
///
/// Archive a user's inventory folder to the given stream
///
+ /// ID representing this request. This will later be returned in the save event
///
///
/// The inventory path from which the inventory should be saved.
- /// The stream to which the inventory archive will be saved
- void ArchiveInventory(string firstName, string lastName, string invPath, Stream saveStream);
+ /// The stream to which the inventory archive will be saved
+ void ArchiveInventory(Guid id, string firstName, string lastName, string invPath, Stream saveStream);
}
}
--
cgit v1.1