aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/ClientViewBase.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-06-05 12:55:12 +0000
committerAdam Frisby2007-06-05 12:55:12 +0000
commit1e716260c8166005d3bd33f4cda68502a09994bb (patch)
tree457d68f241ca0d8b28e03fdcd1a93f6aaf75ec44 /OpenSim/OpenSim.RegionServer/ClientViewBase.cs
parent* Removing dead comments (diff)
downloadopensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.zip
opensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.tar.gz
opensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.tar.bz2
opensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.tar.xz
* Removed MainConsole.Instance.WriteLine completely
* Now exists MainConsole.Instance.Error/Warn/Notice/Verbose -- use those instead * Removed some instances of System.Console use - aiming to depreciate this in favour of MainConsole completely.
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientViewBase.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientViewBase.cs b/OpenSim/OpenSim.RegionServer/ClientViewBase.cs
index 642251c..1eee329 100644
--- a/OpenSim/OpenSim.RegionServer/ClientViewBase.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientViewBase.cs
@@ -10,6 +10,7 @@ using System.Threading;
10using System.Timers; 10using System.Timers;
11using OpenSim.Framework.Utilities; 11using OpenSim.Framework.Utilities;
12using OpenSim.Framework.Interfaces; 12using OpenSim.Framework.Interfaces;
13using OpenSim.Framework.Console;
13 14
14namespace OpenSim 15namespace OpenSim
15{ 16{
@@ -132,7 +133,7 @@ namespace OpenSim
132 } 133 }
133 catch (Exception) 134 catch (Exception)
134 { 135 {
135 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, "OpenSimClient.cs:ProcessOutPacket() - WARNING: Socket exception occurred on connection " + userEP.ToString() + " - killing thread"); 136 MainConsole.Instance.Warn("OpenSimClient.cs:ProcessOutPacket() - WARNING: Socket exception occurred on connection " + userEP.ToString() + " - killing thread");
136 this.KillThread(); 137 this.KillThread();
137 } 138 }
138 139
@@ -227,7 +228,7 @@ namespace OpenSim
227 { 228 {
228 if ((now - packet.TickCount > RESEND_TIMEOUT) && (!packet.Header.Resent)) 229 if ((now - packet.TickCount > RESEND_TIMEOUT) && (!packet.Header.Resent))
229 { 230 {
230 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "Resending " + packet.Type.ToString() + " packet, " + 231 OpenSim.Framework.Console.MainConsole.Instance.Verbose("Resending " + packet.Type.ToString() + " packet, " +
231 (now - packet.TickCount) + "ms have passed"); 232 (now - packet.TickCount) + "ms have passed");
232 233
233 packet.Header.Resent = true; 234 packet.Header.Resent = true;
@@ -246,7 +247,7 @@ namespace OpenSim
246 if (PendingAcks.Count > 250) 247 if (PendingAcks.Count > 250)
247 { 248 {
248 // FIXME: Handle the odd case where we have too many pending ACKs queued up 249 // FIXME: Handle the odd case where we have too many pending ACKs queued up
249 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "Too many ACKs queued up!"); 250 OpenSim.Framework.Console.MainConsole.Instance.Verbose("Too many ACKs queued up!");
250 return; 251 return;
251 } 252 }
252 253