diff options
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs b/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs index 7db784e..d9f8c08 100644 --- a/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs +++ b/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.IO; | 28 | using System.IO; |
29 | using System.Threading; | ||
29 | 30 | ||
30 | namespace OpenSim.Region.Environment.Interfaces | 31 | namespace OpenSim.Region.Environment.Interfaces |
31 | { | 32 | { |
@@ -44,12 +45,11 @@ namespace OpenSim.Region.Environment.Interfaces | |||
44 | /// Archive the region to a stream. | 45 | /// Archive the region to a stream. |
45 | /// </summary> | 46 | /// </summary> |
46 | /// | 47 | /// |
47 | /// This may be a little problematic to use right now since saves happen asynchronously and there is not yet | ||
48 | /// a mechanism to signal completion to the caller (possibly other than continually checking whether the | ||
49 | /// stream has any data in it). TODO: Address this. | ||
50 | /// | ||
51 | /// <param name="saveStream"></param> | 48 | /// <param name="saveStream"></param> |
52 | void ArchiveRegion(Stream saveStream); | 49 | /// <param name="waitHandle"> |
50 | /// Pass in a wait handle if you want to be signalled when the operation completes. | ||
51 | /// </param> | ||
52 | void ArchiveRegion(Stream saveStream, EventWaitHandle waitHandle); | ||
53 | 53 | ||
54 | /// <summary> | 54 | /// <summary> |
55 | /// Dearchive the given region archive into the scene | 55 | /// Dearchive the given region archive into the scene |