You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/12/10 17:48:24 UTC

svn commit: r889329 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs

Author: tabish
Date: Thu Dec 10 16:48:23 2009
New Revision: 889329

URL: http://svn.apache.org/viewvc?rev=889329&view=rev
Log:
* StompFrame.cs: 

Remove some of the debug code now that the connection is working.

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs?rev=889329&r1=889328&r2=889329&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompFrame.cs Thu Dec 10 16:48:23 2009
@@ -152,11 +152,9 @@
         {
             do 
             {
-                Tracer.Debug("Attempting to read in new Command");
                 this.command = ReadLine(dataIn);
             }
             while(this.command == "");            
-            Tracer.Debug("Read new Command: " + this.command);
         }
 
         private void ReadHeaders(BinaryReader dataIn)
@@ -172,8 +170,6 @@
                     string value = line.Substring(idx + 1);
                     
                     this.properties[key] = value;
-
-                    Tracer.Debug("StompFrame - Read Header: " + key + " = " + value);
                 }
                 else
                 {
@@ -221,14 +217,12 @@
             while(true)
             {
                 int nextChar = dataIn.Read();
-                Tracer.Debug( "Value read: " + ((Int32)nextChar).ToString());
                 if(nextChar < 0)
                 {
                     throw new IOException("Peer closed the stream.");
                 }
                 if(nextChar == 10)
                 {
-                    Tracer.Debug("Read The end of Line");
                     break;
                 }
                 ms.WriteByte((byte)nextChar);