aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorJeff Ames2009-05-20 01:32:06 +0000
committerJeff Ames2009-05-20 01:32:06 +0000
commite0bc5c5db2b88691c04b06be2fa73a75746126cb (patch)
treefa33ed724c57578d7ed76044f68940a4e09a8026 /OpenSim/Region/ClientStack/LindenUDP
parentUpdate svn properties. (diff)
downloadopensim-SC-e0bc5c5db2b88691c04b06be2fa73a75746126cb.zip
opensim-SC-e0bc5c5db2b88691c04b06be2fa73a75746126cb.tar.gz
opensim-SC-e0bc5c5db2b88691c04b06be2fa73a75746126cb.tar.bz2
opensim-SC-e0bc5c5db2b88691c04b06be2fa73a75746126cb.tar.xz
Add copyright headers, formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs2
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs10
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index f6a326f..a52eb9a 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -10708,7 +10708,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
10708 { 10708 {
10709 get 10709 get
10710 { 10710 {
10711 if(m_userEndPoint is IPEndPoint) 10711 if (m_userEndPoint is IPEndPoint)
10712 { 10712 {
10713 IPEndPoint ep = (IPEndPoint)m_userEndPoint; 10713 IPEndPoint ep = (IPEndPoint)m_userEndPoint;
10714 10714
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs
index 4a94814..c315c87 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs
@@ -189,7 +189,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
189 } 189 }
190 190
191 if (item.Sequence != 0) 191 if (item.Sequence != 0)
192 lock(contents) contents.Add(item.Sequence); 192 lock (contents) contents.Add(item.Sequence);
193 193
194 lock (this) 194 lock (this)
195 { 195 {
@@ -241,7 +241,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
241 item.TickCount = System.Environment.TickCount; 241 item.TickCount = System.Environment.TickCount;
242 if (item.Sequence == 0) 242 if (item.Sequence == 0)
243 return item; 243 return item;
244 lock(contents) 244 lock (contents)
245 { 245 {
246 if (contents.Contains(item.Sequence)) 246 if (contents.Contains(item.Sequence))
247 if (contents.Remove(item.Sequence)) 247 if (contents.Remove(item.Sequence))
@@ -252,13 +252,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
252 252
253 public void Cancel(uint sequence) 253 public void Cancel(uint sequence)
254 { 254 {
255 lock(contents) while (contents.Remove(sequence)) 255 lock (contents) while (contents.Remove(sequence))
256 ; 256 ;
257 } 257 }
258 258
259 public bool Contains(uint sequence) 259 public bool Contains(uint sequence)
260 { 260 {
261 lock(contents) return contents.Contains(sequence); 261 lock (contents) return contents.Contains(sequence);
262 } 262 }
263 263
264 public void Flush() 264 public void Flush()
@@ -318,7 +318,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
318 TextureOutgoingPacketQueue.Clear(); 318 TextureOutgoingPacketQueue.Clear();
319 AssetOutgoingPacketQueue.Clear(); 319 AssetOutgoingPacketQueue.Clear();
320 SendQueue.Clear(); 320 SendQueue.Clear();
321 lock(contents) contents.Clear(); 321 lock (contents) contents.Clear();
322 } 322 }
323 } 323 }
324 324