aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/InventoryServer/Main.cs
diff options
context:
space:
mode:
authorMelanie Thielker2009-03-21 17:46:58 +0000
committerMelanie Thielker2009-03-21 17:46:58 +0000
commit1121a214b9258487dae0d84dad1a0b495d2f80bd (patch)
tree10576cab4d44bbe39f4f759f8ffac68530e40055 /OpenSim/Grid/InventoryServer/Main.cs
parentMove a check for null PhysActor in applyImpulse so that attachments can move ... (diff)
downloadopensim-SC-1121a214b9258487dae0d84dad1a0b495d2f80bd.zip
opensim-SC-1121a214b9258487dae0d84dad1a0b495d2f80bd.tar.gz
opensim-SC-1121a214b9258487dae0d84dad1a0b495d2f80bd.tar.bz2
opensim-SC-1121a214b9258487dae0d84dad1a0b495d2f80bd.tar.xz
Add a QueryItem method to the inventory subsystem. Currently implemented for
MySQL only, stubs for the others. This allows updating the cache with a single item from the database.
Diffstat (limited to 'OpenSim/Grid/InventoryServer/Main.cs')
-rw-r--r--OpenSim/Grid/InventoryServer/Main.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Grid/InventoryServer/Main.cs b/OpenSim/Grid/InventoryServer/Main.cs
index 8ca7c3d..70bfe60 100644
--- a/OpenSim/Grid/InventoryServer/Main.cs
+++ b/OpenSim/Grid/InventoryServer/Main.cs
@@ -127,6 +127,10 @@ namespace OpenSim.Grid.InventoryServer
127 new RestDeserialiseSecureHandler<InventoryItemBase, bool>( 127 new RestDeserialiseSecureHandler<InventoryItemBase, bool>(
128 "POST", "/DeleteItem/", m_inventoryService.DeleteItem, m_inventoryService.CheckAuthSession)); 128 "POST", "/DeleteItem/", m_inventoryService.DeleteItem, m_inventoryService.CheckAuthSession));
129 129
130 m_httpServer.AddStreamHandler(
131 new RestDeserialiseSecureHandler<InventoryItemBase, InventoryItemBase>(
132 "POST", "/QueryItem/", m_inventoryService.QueryItem, m_inventoryService.CheckAuthSession));
133
130 // WARNING: Root folders no longer just delivers the root and immediate child folders (e.g 134 // WARNING: Root folders no longer just delivers the root and immediate child folders (e.g
131 // system folders such as Objects, Textures), but it now returns the entire inventory skeleton. 135 // system folders such as Objects, Textures), but it now returns the entire inventory skeleton.
132 // It would have been better to rename this request, but complexities in the BaseHttpServer 136 // It would have been better to rename this request, but complexities in the BaseHttpServer