diff options
author | Justin Clarke Casey | 2008-07-24 17:10:07 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-07-24 17:10:07 +0000 |
commit | 918c0a482663cbda9f75901e894d463b7f7c2b0b (patch) | |
tree | efebc66be58f9fd5683bf7ade1ba8dd2aace2658 /OpenSim/Grid/Communications/OGS1/OGS1InterServiceInventoryService.cs | |
parent | * minor: eliminate warnings from LindenUDP (diff) | |
download | opensim-SC-918c0a482663cbda9f75901e894d463b7f7c2b0b.zip opensim-SC-918c0a482663cbda9f75901e894d463b7f7c2b0b.tar.gz opensim-SC-918c0a482663cbda9f75901e894d463b7f7c2b0b.tar.bz2 opensim-SC-918c0a482663cbda9f75901e894d463b7f7c2b0b.tar.xz |
* refactor: move remaining user service -> inventory service OGS1 calls into the specific inter service class
Diffstat (limited to 'OpenSim/Grid/Communications/OGS1/OGS1InterServiceInventoryService.cs')
-rwxr-xr-x | OpenSim/Grid/Communications/OGS1/OGS1InterServiceInventoryService.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Grid/Communications/OGS1/OGS1InterServiceInventoryService.cs b/OpenSim/Grid/Communications/OGS1/OGS1InterServiceInventoryService.cs index 92a6ad8..6aa1440 100755 --- a/OpenSim/Grid/Communications/OGS1/OGS1InterServiceInventoryService.cs +++ b/OpenSim/Grid/Communications/OGS1/OGS1InterServiceInventoryService.cs | |||
@@ -46,6 +46,11 @@ namespace OpenSim.Grid.Communications.OGS1 | |||
46 | m_inventoryServerUrl = inventoryServerUrl; | 46 | m_inventoryServerUrl = inventoryServerUrl; |
47 | } | 47 | } |
48 | 48 | ||
49 | /// <summary> | ||
50 | /// <see cref="OpenSim.Framework.Communications.IInterServiceInventoryServices"/> | ||
51 | /// </summary> | ||
52 | /// <param name="userId"></param> | ||
53 | /// <returns></returns> | ||
49 | public bool CreateNewUserInventory(LLUUID userId) | 54 | public bool CreateNewUserInventory(LLUUID userId) |
50 | { | 55 | { |
51 | return SynchronousRestObjectPoster.BeginPostObject<Guid, bool>( | 56 | return SynchronousRestObjectPoster.BeginPostObject<Guid, bool>( |
@@ -59,9 +64,8 @@ namespace OpenSim.Grid.Communications.OGS1 | |||
59 | /// <returns></returns> | 64 | /// <returns></returns> |
60 | public List<InventoryFolderBase> GetInventorySkeleton(LLUUID userId) | 65 | public List<InventoryFolderBase> GetInventorySkeleton(LLUUID userId) |
61 | { | 66 | { |
62 | //m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: The GetInventorySkeleton() method here should never be called!"); | 67 | return SynchronousRestObjectPoster.BeginPostObject<Guid, List<InventoryFolderBase>>( |
63 | 68 | "POST", m_inventoryServerUrl + "RootFolders/", userId.UUID); | |
64 | return new List<InventoryFolderBase>(); | ||
65 | } | 69 | } |
66 | } | 70 | } |
67 | } | 71 | } |