aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorMelanie2010-11-18 19:06:09 +0000
committerMelanie2010-11-18 19:06:09 +0000
commit164007dd0007a34de02498cea2188c623b5421da (patch)
treee063ad4c5bd134639057d4bbe06cbabd8679b243 /OpenSim/Region/ClientStack/LindenUDP
parentSend media and other parcel data to client on login. Makes streams visible (diff)
parentFixed appearance send for avatars with only default textures. This should fix... (diff)
downloadopensim-SC-164007dd0007a34de02498cea2188c623b5421da.zip
opensim-SC-164007dd0007a34de02498cea2188c623b5421da.tar.gz
opensim-SC-164007dd0007a34de02498cea2188c623b5421da.tar.bz2
opensim-SC-164007dd0007a34de02498cea2188c623b5421da.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs23
1 files changed, 20 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
index a4738ff..ed0e60d 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
@@ -247,11 +247,28 @@ namespace OpenSim.Region.ClientStack.LindenUDP
247 throw new NotImplementedException(); 247 throw new NotImplementedException();
248 } 248 }
249 249
250 /// <summary>
251 /// Return statistics information about client packet queues.
252 /// </summary>
253 ///
254 /// FIXME: This should really be done in a more sensible manner rather than sending back a formatted string.
255 ///
256 /// <returns></returns>
250 public string GetStats() 257 public string GetStats()
251 { 258 {
252 // TODO: ??? 259 return string.Format(
253 return string.Format("{0,7} {1,7} {2,7} {3,7} {4,7} {5,7} {6,7} {7,7} {8,7} {9,7}", 260 "{0,9} {1,9} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}",
254 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); 261 PacketsSent,
262 PacketsReceived,
263 UnackedBytes,
264 m_throttleCategories[(int)ThrottleOutPacketType.Resend].Content,
265 m_throttleCategories[(int)ThrottleOutPacketType.Land].Content,
266 m_throttleCategories[(int)ThrottleOutPacketType.Wind].Content,
267 m_throttleCategories[(int)ThrottleOutPacketType.Cloud].Content,
268 m_throttleCategories[(int)ThrottleOutPacketType.Task].Content,
269 m_throttleCategories[(int)ThrottleOutPacketType.Texture].Content,
270 m_throttleCategories[(int)ThrottleOutPacketType.Asset].Content,
271 m_throttleCategories[(int)ThrottleOutPacketType.State].Content);
255 } 272 }
256 273
257 public void SendPacketStats() 274 public void SendPacketStats()