aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-07-24 15:56:50 +0000
committerJustin Clarke Casey2008-07-24 15:56:50 +0000
commit77297ed6cce787c662d67880e15ecaff5f1b4ca1 (patch)
tree0114f0c5375d48c0413ef73761613b5d9e84e865 /OpenSim/Region
parentThank you, Neopallium, for a patch that addresses ack issues in the (diff)
downloadopensim-SC-77297ed6cce787c662d67880e15ecaff5f1b4ca1.zip
opensim-SC-77297ed6cce787c662d67880e15ecaff5f1b4ca1.tar.gz
opensim-SC-77297ed6cce787c662d67880e15ecaff5f1b4ca1.tar.bz2
opensim-SC-77297ed6cce787c662d67880e15ecaff5f1b4ca1.tar.xz
* Separate out OGS1 calls used between services (rather than from region to services) into a separate assembly to parallel OpenSim.Region.Communications.OGS1
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs16
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1SecureInventoryService.cs15
2 files changed, 2 insertions, 29 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
index 80c286e..2828928 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
@@ -39,7 +39,7 @@ using OpenSim.Framework.Statistics;
39 39
40namespace OpenSim.Region.Communications.OGS1 40namespace OpenSim.Region.Communications.OGS1
41{ 41{
42 public class OGS1InventoryService : IInventoryServices, IInterServiceInventoryServices 42 public class OGS1InventoryService : IInventoryServices
43 { 43 {
44 private static readonly ILog m_log 44 private static readonly ILog m_log
45 = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 45 = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@@ -306,20 +306,6 @@ namespace OpenSim.Region.Communications.OGS1
306 return null; 306 return null;
307 } 307 }
308 308
309 public bool CreateNewUserInventory(LLUUID userId)
310 {
311 return SynchronousRestObjectPoster.BeginPostObject<Guid, bool>(
312 "POST", _inventoryServerUrl + "CreateInventory/", userId.UUID);
313 }
314
315 // See IInventoryServices
316 public List<InventoryFolderBase> GetInventorySkeleton(LLUUID userId)
317 {
318 m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: The GetInventorySkeleton() method here should never be called!");
319
320 return new List<InventoryFolderBase>();
321 }
322
323 #endregion 309 #endregion
324 } 310 }
325} 311}
diff --git a/OpenSim/Region/Communications/OGS1/OGS1SecureInventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1SecureInventoryService.cs
index bb94c20..26521ab 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1SecureInventoryService.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1SecureInventoryService.cs
@@ -39,7 +39,7 @@ using OpenSim.Framework.Statistics;
39 39
40namespace OpenSim.Region.Communications.OGS1 40namespace OpenSim.Region.Communications.OGS1
41{ 41{
42 public class OGS1SecureInventoryService : ISecureInventoryService, IInterServiceInventoryServices 42 public class OGS1SecureInventoryService : ISecureInventoryService
43 { 43 {
44 private static readonly ILog m_log 44 private static readonly ILog m_log
45 = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 45 = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@@ -306,19 +306,6 @@ namespace OpenSim.Region.Communications.OGS1
306 return null; 306 return null;
307 } 307 }
308 308
309 public bool CreateNewUserInventory(LLUUID user)
310 {
311 return false;
312 }
313
314 // See IInventoryServices
315 public List<InventoryFolderBase> GetInventorySkeleton(LLUUID userId)
316 {
317 m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: The GetInventorySkeleton() method here should never be called!");
318
319 return new List<InventoryFolderBase>();
320 }
321
322 #endregion 309 #endregion
323 } 310 }
324} 311}