aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces')
-rw-r--r--OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs b/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs
index 11eea20..7db784e 100644
--- a/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs
+++ b/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs
@@ -25,6 +25,8 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System.IO;
29
28namespace OpenSim.Region.Environment.Interfaces 30namespace OpenSim.Region.Environment.Interfaces
29{ 31{
30 /// <summary> 32 /// <summary>
@@ -39,9 +41,26 @@ namespace OpenSim.Region.Environment.Interfaces
39 void ArchiveRegion(string savePath); 41 void ArchiveRegion(string savePath);
40 42
41 /// <summary> 43 /// <summary>
44 /// Archive the region to a stream.
45 /// </summary>
46 ///
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>
52 void ArchiveRegion(Stream saveStream);
53
54 /// <summary>
42 /// Dearchive the given region archive into the scene 55 /// Dearchive the given region archive into the scene
43 /// </summary> 56 /// </summary>
44 /// <param name="loadPath"></param> 57 /// <param name="loadPath"></param>
45 void DearchiveRegion(string loadPath); 58 void DearchiveRegion(string loadPath);
59
60 /// <summary>
61 /// Dearchive a region from a stream
62 /// </summary>
63 /// <param name="loadStream"></param>
64 void DearchiveRegion(Stream loadStream);
46 } 65 }
47} 66}