diff options
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs b/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs index d9f8c08..559d2a6 100644 --- a/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs +++ b/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs | |||
@@ -26,7 +26,6 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.IO; | 28 | using System.IO; |
29 | using System.Threading; | ||
30 | 29 | ||
31 | namespace OpenSim.Region.Environment.Interfaces | 30 | namespace OpenSim.Region.Environment.Interfaces |
32 | { | 31 | { |
@@ -38,6 +37,10 @@ namespace OpenSim.Region.Environment.Interfaces | |||
38 | /// <summary> | 37 | /// <summary> |
39 | /// Archive the region to the given path | 38 | /// Archive the region to the given path |
40 | /// </summary> | 39 | /// </summary> |
40 | /// | ||
41 | /// This method occurs asynchronously. If you want notification of when it has completed then subscribe to | ||
42 | /// the EventManager.OnOarFileSaved event. | ||
43 | /// | ||
41 | /// <param name="savePath"></param> | 44 | /// <param name="savePath"></param> |
42 | void ArchiveRegion(string savePath); | 45 | void ArchiveRegion(string savePath); |
43 | 46 | ||
@@ -45,21 +48,27 @@ namespace OpenSim.Region.Environment.Interfaces | |||
45 | /// Archive the region to a stream. | 48 | /// Archive the region to a stream. |
46 | /// </summary> | 49 | /// </summary> |
47 | /// | 50 | /// |
51 | /// This method occurs asynchronously. If you want notification of when it has completed then subscribe to | ||
52 | /// the EventManager.OnOarFileSaved event. | ||
53 | /// | ||
48 | /// <param name="saveStream"></param> | 54 | /// <param name="saveStream"></param> |
49 | /// <param name="waitHandle"> | 55 | void ArchiveRegion(Stream saveStream); |
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 | 56 | ||
54 | /// <summary> | 57 | /// <summary> |
55 | /// Dearchive the given region archive into the scene | 58 | /// Dearchive the given region archive into the scene |
56 | /// </summary> | 59 | /// </summary> |
60 | /// | ||
61 | /// If you want notification of when it has completed then subscribe to the EventManager.OnOarFileLoaded event. | ||
62 | /// | ||
57 | /// <param name="loadPath"></param> | 63 | /// <param name="loadPath"></param> |
58 | void DearchiveRegion(string loadPath); | 64 | void DearchiveRegion(string loadPath); |
59 | 65 | ||
60 | /// <summary> | 66 | /// <summary> |
61 | /// Dearchive a region from a stream | 67 | /// Dearchive a region from a stream. |
62 | /// </summary> | 68 | /// </summary> |
69 | /// | ||
70 | /// If you want notification of when it has completed then subscribe to the EventManager.OnOarFileLoaded event. | ||
71 | /// | ||
63 | /// <param name="loadStream"></param> | 72 | /// <param name="loadStream"></param> |
64 | void DearchiveRegion(Stream loadStream); | 73 | void DearchiveRegion(Stream loadStream); |
65 | } | 74 | } |