aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/AssetTransactions.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-18 15:54:05 +0000
committerTeravus Ovares2007-11-18 15:54:05 +0000
commit615b40b68b2311433b855f8c1e961a8b71eb9b65 (patch)
treece9620d6f9e59e5e841f9746d738f6a71063eae4 /OpenSim/Framework/Communications/Cache/AssetTransactions.cs
parentcleaned up some mono compiler warnings (diff)
downloadopensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.zip
opensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.tar.gz
opensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.tar.bz2
opensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.tar.xz
* Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/AssetTransactions.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetTransactions.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetTransactions.cs b/OpenSim/Framework/Communications/Cache/AssetTransactions.cs
index 9e9ec05..acd57b6 100644
--- a/OpenSim/Framework/Communications/Cache/AssetTransactions.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetTransactions.cs
@@ -221,7 +221,7 @@ namespace OpenSim.Framework.Communications.Cache
221 ConfirmXferPacketPacket newPack = new ConfirmXferPacketPacket(); 221 ConfirmXferPacketPacket newPack = new ConfirmXferPacketPacket();
222 newPack.XferID.ID = xferID; 222 newPack.XferID.ID = xferID;
223 newPack.XferID.Packet = packetID; 223 newPack.XferID.Packet = packetID;
224 ourClient.OutPacket(newPack); 224 ourClient.OutPacket(newPack, ThrottleOutPacketType.Asset);
225 if ((packetID & 0x80000000) != 0) 225 if ((packetID & 0x80000000) != 0)
226 { 226 {
227 SendCompleteMessage(); 227 SendCompleteMessage();
@@ -262,7 +262,7 @@ namespace OpenSim.Framework.Communications.Cache
262 newPack.XferID.VFileID = Asset.FullID; 262 newPack.XferID.VFileID = Asset.FullID;
263 newPack.XferID.FilePath = 0; 263 newPack.XferID.FilePath = 0;
264 newPack.XferID.Filename = new byte[0]; 264 newPack.XferID.Filename = new byte[0];
265 ourClient.OutPacket(newPack); 265 ourClient.OutPacket(newPack, ThrottleOutPacketType.Asset);
266 } 266 }
267 267
268 protected void SendCompleteMessage() 268 protected void SendCompleteMessage()
@@ -272,7 +272,7 @@ namespace OpenSim.Framework.Communications.Cache
272 newPack.AssetBlock.Type = Asset.Type; 272 newPack.AssetBlock.Type = Asset.Type;
273 newPack.AssetBlock.Success = true; 273 newPack.AssetBlock.Success = true;
274 newPack.AssetBlock.UUID = Asset.FullID; 274 newPack.AssetBlock.UUID = Asset.FullID;
275 ourClient.OutPacket(newPack); 275 ourClient.OutPacket(newPack, ThrottleOutPacketType.Asset);
276 m_finished = true; 276 m_finished = true;
277 if (m_createItem) 277 if (m_createItem)
278 { 278 {