User Inventory Architecture

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Introduction)
(Introduction)
Line 6: Line 6:
 
When a viewer requests an inventory item, in a conventional setup, the simulator will fetch that data from the inventory service before returning it to the viewer.  Inventory data is not cached on the simulator.   
 
When a viewer requests an inventory item, in a conventional setup, the simulator will fetch that data from the inventory service before returning it to the viewer.  Inventory data is not cached on the simulator.   
  
When delivering inventory via the HTTP capability (see [[OpenSimulatorToViewerInventoryProtocol]] for more details), it is possible to make a different URL available rather than going directly through the simulator.  One does this by replacing the Cap_FetchInventoryDescendents2 and Cap_FetchInventory2 parameters in the [ClientStack.LindenCaps] entries in OpenSim.ini.  However, this is experimental - one should be making each capability URL given to a viewer unique (e.g. by emebedding a random URL) so that only the correct user can fetch their inventory data.
+
When delivering inventory via the HTTP capability (see [[OpenSimulatorToViewerInventoryProtocol]] for more details), it is possible to make a different URL available rather than going directly through the simulator.  One does this by replacing the Cap_FetchInventoryDescendents2 and Cap_FetchInventory2 parameters in the [ClientStack.LindenCaps] entries in OpenSim.ini.  However, this is experimental - one should be making each capability URL given to a viewer unique (e.g. by emebedding a random URL) so that only the correct user can fetch their inventory data.  One would also need to transfer the OpenSimulator code which produces the formatted LLSD for transfer to whatever server starts to serve this instead.
  
 
= References =
 
= References =

Revision as of 19:03, 18 December 2013

Introduction

This is a general holding page for the user inventory mechanisms used in OpenSimulator, including the library. As such, it will point mainly to other pages.

Unfortunately, as with many pages on this wiki, this is heavily under construction. If there's something specific that you want to know, please ask on the Mailing Lists so that we know what to prioritize when filling in this page.

When a viewer requests an inventory item, in a conventional setup, the simulator will fetch that data from the inventory service before returning it to the viewer. Inventory data is not cached on the simulator.

When delivering inventory via the HTTP capability (see OpenSimulatorToViewerInventoryProtocol for more details), it is possible to make a different URL available rather than going directly through the simulator. One does this by replacing the Cap_FetchInventoryDescendents2 and Cap_FetchInventory2 parameters in the [ClientStack.LindenCaps] entries in OpenSim.ini. However, this is experimental - one should be making each capability URL given to a viewer unique (e.g. by emebedding a random URL) so that only the correct user can fetch their inventory data. One would also need to transfer the OpenSimulator code which produces the formatted LLSD for transfer to whatever server starts to serve this instead.

References

Personal tools
General
About This Wiki