aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1
diff options
context:
space:
mode:
authorMW2007-08-14 14:57:52 +0000
committerMW2007-08-14 14:57:52 +0000
commitff08d4d016c048d78cc6de86e62d8e94748bf968 (patch)
tree47fdb3dbc11a1172c66bc0e4145b1bbbd6281963 /OpenSim/Region/Communications/OGS1
parentStart of Inventory service, currently only (partially) functional in standalo... (diff)
downloadopensim-SC_OLD-ff08d4d016c048d78cc6de86e62d8e94748bf968.zip
opensim-SC_OLD-ff08d4d016c048d78cc6de86e62d8e94748bf968.tar.gz
opensim-SC_OLD-ff08d4d016c048d78cc6de86e62d8e94748bf968.tar.bz2
opensim-SC_OLD-ff08d4d016c048d78cc6de86e62d8e94748bf968.tar.xz
More inventory work, should be able to now create new inventory folders and them be stored in database (so are there on next login). Again only works in standalone mode with Account/password authentication turned on. [Creating new inventory items should be working very soon.]
The test is to make sure that it hasn't broke grid mode at all.
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
-rw-r--r--OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs7
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs28
2 files changed, 34 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs
index 47d3148..af239f7 100644
--- a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs
+++ b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs
@@ -8,12 +8,17 @@ namespace OpenSim.Region.Communications.OGS1
8{ 8{
9 public class CommunicationsOGS1 : CommunicationsManager 9 public class CommunicationsOGS1 : CommunicationsManager
10 { 10 {
11 11 public OGS1InventoryService InvenService;
12
12 public CommunicationsOGS1(NetworkServersInfo serversInfo, BaseHttpServer httpServer, AssetCache assetCache ) :base(serversInfo, httpServer, assetCache) 13 public CommunicationsOGS1(NetworkServersInfo serversInfo, BaseHttpServer httpServer, AssetCache assetCache ) :base(serversInfo, httpServer, assetCache)
13 { 14 {
14 OGS1GridServices gridInterComms = new OGS1GridServices(serversInfo, httpServer); 15 OGS1GridServices gridInterComms = new OGS1GridServices(serversInfo, httpServer);
15 GridServer = gridInterComms; 16 GridServer = gridInterComms;
16 InterRegion = gridInterComms; 17 InterRegion = gridInterComms;
18
19 InvenService = new OGS1InventoryService();
20 InventoryServer = InvenService;
21
17 UserServer = new OGS1UserServices(this); 22 UserServer = new OGS1UserServices(this);
18 } 23 }
19 } 24 }
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
new file mode 100644
index 0000000..e8355c6
--- /dev/null
+++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
@@ -0,0 +1,28 @@
1using System;
2using System.Collections.Generic;
3using libsecondlife;
4using OpenSim.Framework.Communications;
5using OpenSim.Framework.Data;
6using InventoryFolder = OpenSim.Framework.Communications.Caches.InventoryFolder;
7
8namespace OpenSim.Region.Communications.OGS1
9{
10 public class OGS1InventoryService : IInventoryServices
11 {
12
13 public OGS1InventoryService()
14 {
15
16 }
17
18 public void RequestInventoryForUser(LLUUID userID, InventoryFolderInfo folderCallBack, InventoryItemInfo itemCallBack)
19 {
20
21 }
22
23 public void AddNewInventoryFolder(LLUUID userID, InventoryFolder folder)
24 {
25
26 }
27 }
28}