diff options
author | Jeff Ames | 2008-05-16 01:22:11 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-16 01:22:11 +0000 |
commit | 65c5efe43b68700bad94076d4cd421160203c5de (patch) | |
tree | 589b56649ed02f4942671fd6e51c6dc43f682e0d /OpenSim/Framework/Communications/Capabilities/Caps.cs | |
parent | Thank you very much, mjm for : (diff) | |
download | opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.zip opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.gz opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.bz2 opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Framework/Communications/Capabilities/Caps.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Capabilities/Caps.cs | 130 |
1 files changed, 65 insertions, 65 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs index 705f369..dac2f34 100644 --- a/OpenSim/Framework/Communications/Capabilities/Caps.cs +++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs | |||
@@ -64,16 +64,16 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
64 | 64 | ||
65 | public class Caps | 65 | public class Caps |
66 | { | 66 | { |
67 | private static readonly ILog m_log = | 67 | private static readonly ILog m_log = |
68 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 68 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
69 | 69 | ||
70 | private string m_httpListenerHostName; | 70 | private string m_httpListenerHostName; |
71 | private uint m_httpListenPort; | 71 | private uint m_httpListenPort; |
72 | 72 | ||
73 | /// <summary> | 73 | /// <summary> |
74 | /// This is the uuid portion of every CAPS path. It is used to make capability urls private to the requester. | 74 | /// This is the uuid portion of every CAPS path. It is used to make capability urls private to the requester. |
75 | /// </summary> | 75 | /// </summary> |
76 | private string m_capsObjectPath; | 76 | private string m_capsObjectPath; |
77 | public string CapsObjectPath { get { return m_capsObjectPath; } } | 77 | public string CapsObjectPath { get { return m_capsObjectPath; } } |
78 | 78 | ||
79 | private CapsHandlers m_capsHandlers; | 79 | private CapsHandlers m_capsHandlers; |
@@ -88,7 +88,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
88 | 88 | ||
89 | // The following two entries are in a module, however, there also here so that we don't re-assign | 89 | // The following two entries are in a module, however, there also here so that we don't re-assign |
90 | // the path to another cap by mistake. | 90 | // the path to another cap by mistake. |
91 | private static readonly string m_parcelVoiceInfoRequestPath = "0007/"; // This is in a module. | 91 | private static readonly string m_parcelVoiceInfoRequestPath = "0007/"; // This is in a module. |
92 | private static readonly string m_provisionVoiceAccountRequestPath = "0008/";// This is in a module. | 92 | private static readonly string m_provisionVoiceAccountRequestPath = "0008/";// This is in a module. |
93 | 93 | ||
94 | //private string eventQueue = "0100/"; | 94 | //private string eventQueue = "0100/"; |
@@ -100,7 +100,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
100 | private bool m_dumpAssetsToFile; | 100 | private bool m_dumpAssetsToFile; |
101 | private string m_regionName; | 101 | private string m_regionName; |
102 | 102 | ||
103 | // These are callbacks which will be setup by the scene so that we can update scene data when we | 103 | // These are callbacks which will be setup by the scene so that we can update scene data when we |
104 | // receive capability calls | 104 | // receive capability calls |
105 | public NewInventoryItem AddNewInventoryItem = null; | 105 | public NewInventoryItem AddNewInventoryItem = null; |
106 | public ItemUpdatedCallback ItemUpdatedCall = null; | 106 | public ItemUpdatedCallback ItemUpdatedCall = null; |
@@ -128,46 +128,46 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
128 | public void RegisterHandlers() | 128 | public void RegisterHandlers() |
129 | { | 129 | { |
130 | DeregisterHandlers(); | 130 | DeregisterHandlers(); |
131 | 131 | ||
132 | string capsBase = "/CAPS/" + m_capsObjectPath; | 132 | string capsBase = "/CAPS/" + m_capsObjectPath; |
133 | 133 | ||
134 | try | 134 | try |
135 | { | 135 | { |
136 | // the root of all evil | 136 | // the root of all evil |
137 | m_capsHandlers["SEED"] = new RestStreamHandler("POST", capsBase + m_requestPath, CapsRequest); | 137 | m_capsHandlers["SEED"] = new RestStreamHandler("POST", capsBase + m_requestPath, CapsRequest); |
138 | m_capsHandlers["MapLayer"] = | 138 | m_capsHandlers["MapLayer"] = |
139 | new LLSDStreamhandler<LLSDMapRequest, LLSDMapLayerResponse>("POST", | 139 | new LLSDStreamhandler<LLSDMapRequest, LLSDMapLayerResponse>("POST", |
140 | capsBase + m_mapLayerPath, | 140 | capsBase + m_mapLayerPath, |
141 | GetMapLayer); | 141 | GetMapLayer); |
142 | m_capsHandlers["NewFileAgentInventory"] = | 142 | m_capsHandlers["NewFileAgentInventory"] = |
143 | new LLSDStreamhandler<LLSDAssetUploadRequest, LLSDAssetUploadResponse>("POST", | 143 | new LLSDStreamhandler<LLSDAssetUploadRequest, LLSDAssetUploadResponse>("POST", |
144 | capsBase + m_newInventory, | 144 | capsBase + m_newInventory, |
145 | NewAgentInventoryRequest); | 145 | NewAgentInventoryRequest); |
146 | m_capsHandlers["UpdateNotecardAgentInventory"] = | 146 | m_capsHandlers["UpdateNotecardAgentInventory"] = |
147 | new RestStreamHandler("POST", capsBase + m_notecardUpdatePath, NoteCardAgentInventory); | 147 | new RestStreamHandler("POST", capsBase + m_notecardUpdatePath, NoteCardAgentInventory); |
148 | m_capsHandlers["UpdateScriptAgentInventory"] = m_capsHandlers["UpdateNotecardAgentInventory"]; | 148 | m_capsHandlers["UpdateScriptAgentInventory"] = m_capsHandlers["UpdateNotecardAgentInventory"]; |
149 | m_capsHandlers["UpdateScriptTaskInventory"] = | 149 | m_capsHandlers["UpdateScriptTaskInventory"] = |
150 | new RestStreamHandler("POST", capsBase + m_notecardTaskUpdatePath, ScriptTaskInventory); | 150 | new RestStreamHandler("POST", capsBase + m_notecardTaskUpdatePath, ScriptTaskInventory); |
151 | 151 | ||
152 | // justincc: I've disabled the CAPS service for now to fix problems with selecting textures, and | 152 | // justincc: I've disabled the CAPS service for now to fix problems with selecting textures, and |
153 | // subsequent inventory breakage, in the edit object pane (such as mantis 1085). This requires | 153 | // subsequent inventory breakage, in the edit object pane (such as mantis 1085). This requires |
154 | // enhancements (probably filling out the folder part of the LLSD reply) to our CAPS service, | 154 | // enhancements (probably filling out the folder part of the LLSD reply) to our CAPS service, |
155 | // but when I went on the Linden grid, the | 155 | // but when I went on the Linden grid, the |
156 | // simulators I visited (version 1.21) were, surprisingly, no longer supplying this capability. Instead, | 156 | // simulators I visited (version 1.21) were, surprisingly, no longer supplying this capability. Instead, |
157 | // the 1.19.1.4 client appeared to be happily flowing inventory data over UDP | 157 | // the 1.19.1.4 client appeared to be happily flowing inventory data over UDP |
158 | // | 158 | // |
159 | // This is very probably just a temporary measure - once the CAPS service appears again on the Linden grid | 159 | // This is very probably just a temporary measure - once the CAPS service appears again on the Linden grid |
160 | // we will be | 160 | // we will be |
161 | // able to get the data we need to implement the necessary part of the protocol to fix the issue above. | 161 | // able to get the data we need to implement the necessary part of the protocol to fix the issue above. |
162 | // m_capsHandlers["FetchInventoryDescendents"] = | 162 | // m_capsHandlers["FetchInventoryDescendents"] = |
163 | // new RestStreamHandler("POST", capsBase + m_fetchInventoryPath, FetchInventoryRequest); | 163 | // new RestStreamHandler("POST", capsBase + m_fetchInventoryPath, FetchInventoryRequest); |
164 | 164 | ||
165 | // m_capsHandlers["FetchInventoryDescendents"] = | 165 | // m_capsHandlers["FetchInventoryDescendents"] = |
166 | // new LLSDStreamhandler<LLSDFetchInventoryDescendents, LLSDInventoryDescendents>("POST", | 166 | // new LLSDStreamhandler<LLSDFetchInventoryDescendents, LLSDInventoryDescendents>("POST", |
167 | // capsBase + m_fetchInventory, | 167 | // capsBase + m_fetchInventory, |
168 | // FetchInventory)); | 168 | // FetchInventory)); |
169 | // m_capsHandlers["RequestTextureDownload"] = new RestStreamHandler("POST", | 169 | // m_capsHandlers["RequestTextureDownload"] = new RestStreamHandler("POST", |
170 | // capsBase + m_requestTexture, | 170 | // capsBase + m_requestTexture, |
171 | // RequestTexture); | 171 | // RequestTexture); |
172 | } | 172 | } |
173 | catch (Exception e) | 173 | catch (Exception e) |
@@ -181,7 +181,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
181 | /// </summary> | 181 | /// </summary> |
182 | /// <param name="capName"></param> | 182 | /// <param name="capName"></param> |
183 | /// <param name="handler"></param> | 183 | /// <param name="handler"></param> |
184 | public void RegisterHandler(string capName, IRequestHandler handler) | 184 | public void RegisterHandler(string capName, IRequestHandler handler) |
185 | { | 185 | { |
186 | m_capsHandlers[capName] = handler; | 186 | m_capsHandlers[capName] = handler; |
187 | m_log.DebugFormat("[CAPS]: Registering handler for \"{0}\": path {1}", capName, handler.Path); | 187 | m_log.DebugFormat("[CAPS]: Registering handler for \"{0}\": path {1}", capName, handler.Path); |
@@ -189,14 +189,14 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
189 | 189 | ||
190 | /// <summary> | 190 | /// <summary> |
191 | /// Remove all CAPS service handlers. | 191 | /// Remove all CAPS service handlers. |
192 | /// | 192 | /// |
193 | /// </summary> | 193 | /// </summary> |
194 | /// <param name="httpListener"></param> | 194 | /// <param name="httpListener"></param> |
195 | /// <param name="path"></param> | 195 | /// <param name="path"></param> |
196 | /// <param name="restMethod"></param> | 196 | /// <param name="restMethod"></param> |
197 | public void DeregisterHandlers() | 197 | public void DeregisterHandlers() |
198 | { | 198 | { |
199 | foreach (string capsName in m_capsHandlers.Caps) | 199 | foreach (string capsName in m_capsHandlers.Caps) |
200 | { | 200 | { |
201 | m_capsHandlers.Remove(capsName); | 201 | m_capsHandlers.Remove(capsName); |
202 | } | 202 | } |
@@ -220,7 +220,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
220 | 220 | ||
221 | // FIXME: these all should probably go into the respective region | 221 | // FIXME: these all should probably go into the respective region |
222 | // modules | 222 | // modules |
223 | 223 | ||
224 | /// <summary> | 224 | /// <summary> |
225 | /// Processes a fetch inventory request and sends the reply | 225 | /// Processes a fetch inventory request and sends the reply |
226 | 226 | ||
@@ -229,7 +229,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
229 | /// <param name="path"></param> | 229 | /// <param name="path"></param> |
230 | /// <param name="param"></param> | 230 | /// <param name="param"></param> |
231 | /// <returns></returns> | 231 | /// <returns></returns> |
232 | // Request is like: | 232 | // Request is like: |
233 | //<llsd> | 233 | //<llsd> |
234 | // <map><key>folders</key> | 234 | // <map><key>folders</key> |
235 | // <array> | 235 | // <array> |
@@ -240,14 +240,14 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
240 | // </map> | 240 | // </map> |
241 | //</llsd> | 241 | //</llsd> |
242 | // | 242 | // |
243 | // multiple fetch-folder maps are allowed within the larger folders map. | 243 | // multiple fetch-folder maps are allowed within the larger folders map. |
244 | public string FetchInventoryRequest(string request, string path, string param) | 244 | public string FetchInventoryRequest(string request, string path, string param) |
245 | { | 245 | { |
246 | string unmodifiedRequest = request.ToString(); | 246 | string unmodifiedRequest = request.ToString(); |
247 | 247 | ||
248 | //m_log.DebugFormat("[AGENT INVENTORY]: Received CAPS fetch inventory request {0}", unmodifiedRequest); | 248 | //m_log.DebugFormat("[AGENT INVENTORY]: Received CAPS fetch inventory request {0}", unmodifiedRequest); |
249 | m_log.Debug("[CAPS]: Inventory Request in region: " + m_regionName); | 249 | m_log.Debug("[CAPS]: Inventory Request in region: " + m_regionName); |
250 | 250 | ||
251 | Hashtable hash = new Hashtable(); | 251 | Hashtable hash = new Hashtable(); |
252 | try | 252 | try |
253 | { | 253 | { |
@@ -258,7 +258,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
258 | m_log.Error("[AGENT INVENTORY]: Fetch error: " + pe.Message); | 258 | m_log.Error("[AGENT INVENTORY]: Fetch error: " + pe.Message); |
259 | m_log.Error("Request: " + request.ToString()); | 259 | m_log.Error("Request: " + request.ToString()); |
260 | } | 260 | } |
261 | 261 | ||
262 | ArrayList foldersrequested = (ArrayList)hash["folders"]; | 262 | ArrayList foldersrequested = (ArrayList)hash["folders"]; |
263 | 263 | ||
264 | string response = ""; | 264 | string response = ""; |
@@ -275,15 +275,15 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
275 | inventoryitemstr = LLSDHelpers.SerialiseLLSDReply(reply); | 275 | inventoryitemstr = LLSDHelpers.SerialiseLLSDReply(reply); |
276 | inventoryitemstr = inventoryitemstr.Replace("<llsd><map><key>folders</key><array>", ""); | 276 | inventoryitemstr = inventoryitemstr.Replace("<llsd><map><key>folders</key><array>", ""); |
277 | inventoryitemstr = inventoryitemstr.Replace("</array></map></llsd>", ""); | 277 | inventoryitemstr = inventoryitemstr.Replace("</array></map></llsd>", ""); |
278 | 278 | ||
279 | response += inventoryitemstr; | 279 | response += inventoryitemstr; |
280 | } | 280 | } |
281 | 281 | ||
282 | if (response.Length == 0) | 282 | if (response.Length == 0) |
283 | { | 283 | { |
284 | // Ter-guess: If requests fail a lot, the client seems to stop requesting descendants. | 284 | // Ter-guess: If requests fail a lot, the client seems to stop requesting descendants. |
285 | // Therefore, I'm concluding that the client only has so many threads available to do requests | 285 | // Therefore, I'm concluding that the client only has so many threads available to do requests |
286 | // and when a thread stalls.. is stays stalled. | 286 | // and when a thread stalls.. is stays stalled. |
287 | // Therefore we need to return something valid | 287 | // Therefore we need to return something valid |
288 | response = "<llsd><map><key>folders</key><array /></map></llsd>"; | 288 | response = "<llsd><map><key>folders</key><array /></map></llsd>"; |
289 | } | 289 | } |
@@ -291,7 +291,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
291 | { | 291 | { |
292 | response = "<llsd><map><key>folders</key><array>" + response + "</array></map></llsd>"; | 292 | response = "<llsd><map><key>folders</key><array>" + response + "</array></map></llsd>"; |
293 | } | 293 | } |
294 | 294 | ||
295 | //m_log.DebugFormat("[AGENT INVENTORY]: Replying to CAPS fetch inventory request with following xml"); | 295 | //m_log.DebugFormat("[AGENT INVENTORY]: Replying to CAPS fetch inventory request with following xml"); |
296 | //m_log.Debug(Util.GetFormattedXml(response)); | 296 | //m_log.Debug(Util.GetFormattedXml(response)); |
297 | 297 | ||
@@ -310,7 +310,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
310 | contents.agent___id = m_agentID; | 310 | contents.agent___id = m_agentID; |
311 | contents.owner___id = invFetch.owner_id; | 311 | contents.owner___id = invFetch.owner_id; |
312 | contents.folder___id = invFetch.folder_id; | 312 | contents.folder___id = invFetch.folder_id; |
313 | 313 | ||
314 | // The version number being sent back was originally 1. | 314 | // The version number being sent back was originally 1. |
315 | // Unfortunately, on 1.19.1.4, this means that we see a problem where on subsequent logins | 315 | // Unfortunately, on 1.19.1.4, this means that we see a problem where on subsequent logins |
316 | // without clearing client cache, objects in the root folder disappear until the cache is cleared, | 316 | // without clearing client cache, objects in the root folder disappear until the cache is cleared, |
@@ -318,8 +318,8 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
318 | // | 318 | // |
319 | // Seeing the version to something other than 0 may be the right thing to do, but there is | 319 | // Seeing the version to something other than 0 may be the right thing to do, but there is |
320 | // a greater subtlety of the second life protocol that needs to be understood first. | 320 | // a greater subtlety of the second life protocol that needs to be understood first. |
321 | contents.version = 0; | 321 | contents.version = 0; |
322 | 322 | ||
323 | contents.descendents = 0; | 323 | contents.descendents = 0; |
324 | reply.folders.Array.Add(contents); | 324 | reply.folders.Array.Add(contents); |
325 | List<InventoryItemBase> itemList = null; | 325 | List<InventoryItemBase> itemList = null; |
@@ -327,7 +327,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
327 | { | 327 | { |
328 | itemList = CAPSFetchInventoryDescendents(m_agentID, invFetch.folder_id, invFetch.owner_id, invFetch.fetch_folders, invFetch.fetch_items, invFetch.sort_order); | 328 | itemList = CAPSFetchInventoryDescendents(m_agentID, invFetch.folder_id, invFetch.owner_id, invFetch.fetch_folders, invFetch.fetch_items, invFetch.sort_order); |
329 | } | 329 | } |
330 | 330 | ||
331 | if (itemList != null) | 331 | if (itemList != null) |
332 | { | 332 | { |
333 | foreach (InventoryItemBase invItem in itemList) | 333 | foreach (InventoryItemBase invItem in itemList) |
@@ -336,12 +336,12 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
336 | } | 336 | } |
337 | } | 337 | } |
338 | else | 338 | else |
339 | { | 339 | { |
340 | IClientAPI client = GetClient(m_agentID); | 340 | IClientAPI client = GetClient(m_agentID); |
341 | 341 | ||
342 | // We're going to both notify the client of inventory service failure and send back a 'no folder contents' response. | 342 | // We're going to both notify the client of inventory service failure and send back a 'no folder contents' response. |
343 | // If we don't send back the response, | 343 | // If we don't send back the response, |
344 | // the client becomes unhappy (see Teravus' comment in FetchInventoryRequest()) | 344 | // the client becomes unhappy (see Teravus' comment in FetchInventoryRequest()) |
345 | if (client != null) | 345 | if (client != null) |
346 | { | 346 | { |
347 | client.SendAgentAlertMessage( | 347 | client.SendAgentAlertMessage( |
@@ -351,11 +351,11 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
351 | else | 351 | else |
352 | { | 352 | { |
353 | m_log.ErrorFormat( | 353 | m_log.ErrorFormat( |
354 | "[AGENT INVENTORY]: Could not lookup controlling client for {0} in order to notify them of the inventory service failure", | 354 | "[AGENT INVENTORY]: Could not lookup controlling client for {0} in order to notify them of the inventory service failure", |
355 | m_agentID); | 355 | m_agentID); |
356 | } | 356 | } |
357 | } | 357 | } |
358 | 358 | ||
359 | contents.descendents = contents.items.Array.Count; | 359 | contents.descendents = contents.items.Array.Count; |
360 | return reply; | 360 | return reply; |
361 | } | 361 | } |
@@ -375,7 +375,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
375 | llsdItem.item_id = invItem.ID; | 375 | llsdItem.item_id = invItem.ID; |
376 | llsdItem.name = invItem.Name; | 376 | llsdItem.name = invItem.Name; |
377 | llsdItem.parent_id = invItem.Folder; | 377 | llsdItem.parent_id = invItem.Folder; |
378 | llsdItem.type = Enum.GetName(typeof(AssetType), invItem.AssetType).ToLower(); | 378 | llsdItem.type = Enum.GetName(typeof(AssetType), invItem.AssetType).ToLower(); |
379 | llsdItem.inv_type = Enum.GetName(typeof(InventoryType), invItem.InvType).ToLower(); | 379 | llsdItem.inv_type = Enum.GetName(typeof(InventoryType), invItem.InvType).ToLower(); |
380 | llsdItem.permissions = new LLSDPermissions(); | 380 | llsdItem.permissions = new LLSDPermissions(); |
381 | llsdItem.permissions.creator_id = invItem.Creator; | 381 | llsdItem.permissions.creator_id = invItem.Creator; |
@@ -395,7 +395,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
395 | } | 395 | } |
396 | 396 | ||
397 | /// <summary> | 397 | /// <summary> |
398 | /// | 398 | /// |
399 | /// </summary> | 399 | /// </summary> |
400 | /// <param name="mapReq"></param> | 400 | /// <param name="mapReq"></param> |
401 | /// <returns></returns> | 401 | /// <returns></returns> |
@@ -408,7 +408,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
408 | } | 408 | } |
409 | 409 | ||
410 | /// <summary> | 410 | /// <summary> |
411 | /// | 411 | /// |
412 | /// </summary> | 412 | /// </summary> |
413 | /// <returns></returns> | 413 | /// <returns></returns> |
414 | protected static LLSDMapLayer GetLLSDMapLayerResponse() | 414 | protected static LLSDMapLayer GetLLSDMapLayerResponse() |
@@ -421,7 +421,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
421 | } | 421 | } |
422 | 422 | ||
423 | /// <summary> | 423 | /// <summary> |
424 | /// | 424 | /// |
425 | /// </summary> | 425 | /// </summary> |
426 | /// <param name="request"></param> | 426 | /// <param name="request"></param> |
427 | /// <param name="path"></param> | 427 | /// <param name="path"></param> |
@@ -437,7 +437,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
437 | #region EventQueue (Currently not enabled) | 437 | #region EventQueue (Currently not enabled) |
438 | 438 | ||
439 | /// <summary> | 439 | /// <summary> |
440 | /// | 440 | /// |
441 | /// </summary> | 441 | /// </summary> |
442 | /// <param name="request"></param> | 442 | /// <param name="request"></param> |
443 | /// <param name="path"></param> | 443 | /// <param name="path"></param> |
@@ -463,7 +463,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
463 | } | 463 | } |
464 | 464 | ||
465 | /// <summary> | 465 | /// <summary> |
466 | /// | 466 | /// |
467 | /// </summary> | 467 | /// </summary> |
468 | /// <param name="caps"></param> | 468 | /// <param name="caps"></param> |
469 | /// <param name="ipAddressPort"></param> | 469 | /// <param name="ipAddressPort"></param> |
@@ -482,7 +482,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
482 | } | 482 | } |
483 | 483 | ||
484 | /// <summary> | 484 | /// <summary> |
485 | /// | 485 | /// |
486 | /// </summary> | 486 | /// </summary> |
487 | /// <returns></returns> | 487 | /// <returns></returns> |
488 | public string CreateEmptyEventResponse() | 488 | public string CreateEmptyEventResponse() |
@@ -590,7 +590,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
590 | } | 590 | } |
591 | 591 | ||
592 | /// <summary> | 592 | /// <summary> |
593 | /// | 593 | /// |
594 | /// </summary> | 594 | /// </summary> |
595 | /// <param name="llsdRequest"></param> | 595 | /// <param name="llsdRequest"></param> |
596 | /// <returns></returns> | 596 | /// <returns></returns> |
@@ -622,7 +622,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
622 | } | 622 | } |
623 | 623 | ||
624 | /// <summary> | 624 | /// <summary> |
625 | /// | 625 | /// |
626 | /// </summary> | 626 | /// </summary> |
627 | /// <param name="assetID"></param> | 627 | /// <param name="assetID"></param> |
628 | /// <param name="inventoryItem"></param> | 628 | /// <param name="inventoryItem"></param> |
@@ -708,7 +708,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
708 | /// <param name="itemID">Item to update</param> | 708 | /// <param name="itemID">Item to update</param> |
709 | /// <param name="primID">Prim containing item to update</param> | 709 | /// <param name="primID">Prim containing item to update</param> |
710 | /// <param name="isScriptRunning">Signals whether the script to update is currently running</param> | 710 | /// <param name="isScriptRunning">Signals whether the script to update is currently running</param> |
711 | /// <param name="data">New asset data</param> | 711 | /// <param name="data">New asset data</param> |
712 | public void TaskScriptUpdated(LLUUID itemID, LLUUID primID, bool isScriptRunning, byte[] data) | 712 | public void TaskScriptUpdated(LLUUID itemID, LLUUID primID, bool isScriptRunning, byte[] data) |
713 | { | 713 | { |
714 | if (TaskScriptUpdatedCall != null) | 714 | if (TaskScriptUpdatedCall != null) |
@@ -751,7 +751,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
751 | } | 751 | } |
752 | 752 | ||
753 | /// <summary> | 753 | /// <summary> |
754 | /// | 754 | /// |
755 | /// </summary> | 755 | /// </summary> |
756 | /// <param name="data"></param> | 756 | /// <param name="data"></param> |
757 | /// <param name="path"></param> | 757 | /// <param name="path"></param> |
@@ -807,7 +807,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
807 | } | 807 | } |
808 | 808 | ||
809 | /// <summary> | 809 | /// <summary> |
810 | /// This class is a callback invoked when a client sends asset data to | 810 | /// This class is a callback invoked when a client sends asset data to |
811 | /// an agent inventory notecard update url | 811 | /// an agent inventory notecard update url |
812 | /// </summary> | 812 | /// </summary> |
813 | public class ItemUpdater | 813 | public class ItemUpdater |
@@ -831,7 +831,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
831 | } | 831 | } |
832 | 832 | ||
833 | /// <summary> | 833 | /// <summary> |
834 | /// | 834 | /// |
835 | /// </summary> | 835 | /// </summary> |
836 | /// <param name="data"></param> | 836 | /// <param name="data"></param> |
837 | /// <param name="path"></param> | 837 | /// <param name="path"></param> |
@@ -889,7 +889,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
889 | } | 889 | } |
890 | 890 | ||
891 | /// <summary> | 891 | /// <summary> |
892 | /// This class is a callback invoked when a client sends asset data to | 892 | /// This class is a callback invoked when a client sends asset data to |
893 | /// a task inventory script update url | 893 | /// a task inventory script update url |
894 | /// </summary> | 894 | /// </summary> |
895 | public class TaskInventoryScriptUpdater | 895 | public class TaskInventoryScriptUpdater |
@@ -921,7 +921,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
921 | } | 921 | } |
922 | 922 | ||
923 | /// <summary> | 923 | /// <summary> |
924 | /// | 924 | /// |
925 | /// </summary> | 925 | /// </summary> |
926 | /// <param name="data"></param> | 926 | /// <param name="data"></param> |
927 | /// <param name="path"></param> | 927 | /// <param name="path"></param> |
@@ -931,7 +931,7 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
931 | { | 931 | { |
932 | try | 932 | try |
933 | { | 933 | { |
934 | // m_log.InfoFormat("[CAPS]: " + | 934 | // m_log.InfoFormat("[CAPS]: " + |
935 | // "TaskInventoryScriptUpdater received data: {0}, path: {1}, param: {2}", | 935 | // "TaskInventoryScriptUpdater received data: {0}, path: {1}, param: {2}", |
936 | // data, path, param)); | 936 | // data, path, param)); |
937 | 937 | ||