diff options
author | lbsa71 | 2007-09-24 07:30:30 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-24 07:30:30 +0000 |
commit | 1302ef44e3c632159378bc4042c753bcf36e9c63 (patch) | |
tree | 6b6295ac233ecb05afe6432a903ec616e4fa079a /OpenSim/Region/Communications/OGS1 | |
parent | * Trying to streamline CommunicationsManager (diff) | |
download | opensim-SC-1302ef44e3c632159378bc4042c753bcf36e9c63.zip opensim-SC-1302ef44e3c632159378bc4042c753bcf36e9c63.tar.gz opensim-SC-1302ef44e3c632159378bc4042c753bcf36e9c63.tar.bz2 opensim-SC-1302ef44e3c632159378bc4042c753bcf36e9c63.tar.xz |
* Started major restructusing of comms to prepare for better grid and region functionality
* Working towards one shared set of services
* Killed off two projects with very little functionality
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
3 files changed, 60 insertions, 41 deletions
diff --git a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs index ca9c34b..96f1933 100644 --- a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs +++ b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs | |||
@@ -11,11 +11,11 @@ namespace OpenSim.Region.Communications.OGS1 | |||
11 | public CommunicationsOGS1(NetworkServersInfo serversInfo, BaseHttpServer httpServer, AssetCache assetCache ) :base(serversInfo, httpServer, assetCache) | 11 | public CommunicationsOGS1(NetworkServersInfo serversInfo, BaseHttpServer httpServer, AssetCache assetCache ) :base(serversInfo, httpServer, assetCache) |
12 | { | 12 | { |
13 | OGS1GridServices gridInterComms = new OGS1GridServices(serversInfo, httpServer); | 13 | OGS1GridServices gridInterComms = new OGS1GridServices(serversInfo, httpServer); |
14 | m_gridServer = gridInterComms; | 14 | m_gridService = gridInterComms; |
15 | m_interRegion = gridInterComms; | 15 | m_interRegion = gridInterComms; |
16 | 16 | ||
17 | m_inventoryServer = new OGS1InventoryService(); | 17 | m_inventoryService = new OGS1InventoryService(); |
18 | m_userServer = new OGS1UserServices(this); | 18 | m_userService = new OGS1UserServices(this); |
19 | } | 19 | } |
20 | } | 20 | } |
21 | } | 21 | } |
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs index 1428639..d5dbc46 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | |||
@@ -1,38 +1,52 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using libsecondlife; | 3 | using libsecondlife; |
4 | using OpenSim.Framework.Communications; | 4 | using OpenSim.Framework.Communications; |
5 | using OpenSim.Framework.Data; | 5 | using OpenSim.Framework.Data; |
6 | using InventoryFolder = OpenSim.Framework.Communications.Caches.InventoryFolder; | 6 | using InventoryFolder = OpenSim.Framework.Communications.Caches.InventoryFolder; |
7 | 7 | ||
8 | namespace OpenSim.Region.Communications.OGS1 | 8 | namespace OpenSim.Region.Communications.OGS1 |
9 | { | 9 | { |
10 | public class OGS1InventoryService : IInventoryServices | 10 | public class OGS1InventoryService : IInventoryServices |
11 | { | 11 | { |
12 | 12 | ||
13 | public OGS1InventoryService() | 13 | public OGS1InventoryService() |
14 | { | 14 | { |
15 | 15 | ||
16 | } | 16 | } |
17 | 17 | ||
18 | public void RequestInventoryForUser(LLUUID userID, InventoryFolderInfo folderCallBack, InventoryItemInfo itemCallBack) | 18 | #region IInventoryServices Members |
19 | { | 19 | |
20 | 20 | public void RequestInventoryForUser(LLUUID userID, InventoryFolderInfo folderCallBack, InventoryItemInfo itemCallBack) | |
21 | } | 21 | { |
22 | 22 | throw new Exception("The method or operation is not implemented."); | |
23 | public void AddNewInventoryFolder(LLUUID userID, InventoryFolder folder) | 23 | } |
24 | { | 24 | |
25 | 25 | public void AddNewInventoryFolder(LLUUID userID, InventoryFolder folder) | |
26 | } | 26 | { |
27 | 27 | throw new Exception("The method or operation is not implemented."); | |
28 | public void AddNewInventoryItem(LLUUID userID, InventoryItemBase item) | 28 | } |
29 | { | 29 | |
30 | 30 | public void AddNewInventoryItem(LLUUID userID, InventoryItemBase item) | |
31 | } | 31 | { |
32 | 32 | throw new Exception("The method or operation is not implemented."); | |
33 | public void DeleteInventoryItem(LLUUID userID, InventoryItemBase item) | 33 | } |
34 | { | 34 | |
35 | 35 | public void DeleteInventoryItem(LLUUID userID, InventoryItemBase item) | |
36 | } | 36 | { |
37 | } | 37 | throw new Exception("The method or operation is not implemented."); |
38 | } | 38 | } |
39 | |||
40 | public void CreateNewUserInventory(LLUUID user) | ||
41 | { | ||
42 | throw new Exception("The method or operation is not implemented."); | ||
43 | } | ||
44 | |||
45 | public List<InventoryFolderBase> RequestFirstLevelFolders(LLUUID userID) | ||
46 | { | ||
47 | throw new Exception("The method or operation is not implemented."); | ||
48 | } | ||
49 | |||
50 | #endregion | ||
51 | } | ||
52 | } | ||
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index 71b3752..d376d1c 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | |||
@@ -101,5 +101,10 @@ namespace OpenSim.Region.Communications.OGS1 | |||
101 | UserProfileData profile = GetUserProfile(firstName, lastName); | 101 | UserProfileData profile = GetUserProfile(firstName, lastName); |
102 | return profile; | 102 | return profile; |
103 | } | 103 | } |
104 | |||
105 | public void AddUserProfile(string firstName, string lastName, string pass, uint regX, uint regY) | ||
106 | { | ||
107 | throw new Exception("The method or operation is not implemented."); | ||
108 | } | ||
104 | } | 109 | } |
105 | } | 110 | } |