From 7d24dbca3c85cafe182648139ab132563e3e1cdd Mon Sep 17 00:00:00 2001
From: Diva Canto
Date: Wed, 1 Dec 2010 16:01:22 -0800
Subject: Added some comments. Better than listening to the boring speaker...
---
.../Serialization/External/ExternalRepresentationUtils.cs | 12 ++++++++++++
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 5 ++++-
OpenSim/Services/HypergridService/HGAssetService.cs | 5 +++++
OpenSim/Services/HypergridService/HGInventoryService.cs | 7 +++++++
4 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs b/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs
index 5c0630c..6e8c2ee 100644
--- a/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs
+++ b/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs
@@ -34,8 +34,20 @@ using OpenSim.Services.Interfaces;
namespace OpenSim.Framework.Serialization.External
{
+ ///
+ /// Utilities for manipulating external representations of data structures in OpenSim
+ ///
public class ExternalRepresentationUtils
{
+ ///
+ /// Takes a XML representation of a SceneObjectPart and returns another XML representation
+ /// with creator data added to it.
+ ///
+ /// The SceneObjectPart represented in XML2
+ /// The URL of the profile service for the creator
+ /// The service for retrieving user account information
+ /// The scope of the user account information (Grid ID)
+ /// The SceneObjectPart represented in XML2
public static string RewriteSOP(string xml, string profileURL, IUserAccountService userService, UUID scopeID)
{
if (xml == string.Empty || profileURL == string.Empty || userService == null)
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index ba592c4..f87056e 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -449,7 +449,10 @@ namespace OpenSim.Region.Framework.Scenes
}
}
- public string CreatorData // = ;
+ ///
+ /// Data about the creator in the form profile_url;name
+ ///
+ public string CreatorData
{
get { return m_creatorData; }
set { m_creatorData = value; }
diff --git a/OpenSim/Services/HypergridService/HGAssetService.cs b/OpenSim/Services/HypergridService/HGAssetService.cs
index 584ab6f..a82d0d1 100644
--- a/OpenSim/Services/HypergridService/HGAssetService.cs
+++ b/OpenSim/Services/HypergridService/HGAssetService.cs
@@ -42,6 +42,11 @@ using OpenSim.Services.AssetService;
namespace OpenSim.Services.HypergridService
{
+ ///
+ /// Hypergrid asset service. It serves the IAssetService interface,
+ /// but implements it in ways that are appropriate for inter-grid
+ /// asset exchanges.
+ ///
public class HGAssetService : OpenSim.Services.AssetService.AssetService, IAssetService
{
private static readonly ILog m_log =
diff --git a/OpenSim/Services/HypergridService/HGInventoryService.cs b/OpenSim/Services/HypergridService/HGInventoryService.cs
index a04f0c4..9ee1ae4 100644
--- a/OpenSim/Services/HypergridService/HGInventoryService.cs
+++ b/OpenSim/Services/HypergridService/HGInventoryService.cs
@@ -40,6 +40,13 @@ using OpenSim.Server.Base;
namespace OpenSim.Services.HypergridService
{
+ ///
+ /// Hypergrid inventory service. It serves the IInventoryService interface,
+ /// but implements it in ways that are appropriate for inter-grid
+ /// inventory exchanges. Specifically, it does not performs deletions
+ /// and it responds to GetRootFolder requests with the ID of the
+ /// Suitcase folder, not the actual "My Inventory" folder.
+ ///
public class HGInventoryService : XInventoryService, IInventoryService
{
private static readonly ILog m_log =
--
cgit v1.1