diff options
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs index dfc741a..4e4bfe8 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | |||
@@ -45,16 +45,23 @@ namespace OpenSim.Region.Communications.OGS1 | |||
45 | = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 45 | = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
46 | 46 | ||
47 | private string _inventoryServerUrl; | 47 | private string _inventoryServerUrl; |
48 | private Uri m_Uri; | ||
48 | private Dictionary<LLUUID, InventoryReceiptCallback> m_RequestingInventory | 49 | private Dictionary<LLUUID, InventoryReceiptCallback> m_RequestingInventory |
49 | = new Dictionary<LLUUID, InventoryReceiptCallback>(); | 50 | = new Dictionary<LLUUID, InventoryReceiptCallback>(); |
50 | 51 | ||
51 | public OGS1InventoryService(string inventoryServerUrl) | 52 | public OGS1InventoryService(string inventoryServerUrl) |
52 | { | 53 | { |
53 | _inventoryServerUrl = inventoryServerUrl; | 54 | _inventoryServerUrl = inventoryServerUrl; |
55 | m_Uri = new Uri(_inventoryServerUrl); | ||
54 | } | 56 | } |
55 | 57 | ||
56 | #region IInventoryServices Members | 58 | #region IInventoryServices Members |
57 | 59 | ||
60 | public string Host | ||
61 | { | ||
62 | get { return m_Uri.Host; } | ||
63 | } | ||
64 | |||
58 | /// <summary> | 65 | /// <summary> |
59 | /// <see cref="OpenSim.Framework.Communications.IInventoryServices"></see> | 66 | /// <see cref="OpenSim.Framework.Communications.IInventoryServices"></see> |
60 | /// </summary> | 67 | /// </summary> |