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 2010/11/11 20:24:21 UTC

svn commit: r1034059 - in /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport: Failover/FailoverTransport.cs InactivityMonitor.cs

Author: tabish
Date: Thu Nov 11 19:24:21 2010
New Revision: 1034059

URL: http://svn.apache.org/viewvc?rev=1034059&view=rev
Log:
Use the Command object type shortcuts

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs?rev=1034059&r1=1034058&r2=1034059&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs Thu Nov 11 19:24:21 2010
@@ -430,7 +430,7 @@ namespace Apache.NMS.Stomp.Transport.Fai
                         return;
                     }
 
-                    if(command is RemoveInfo)
+                    if(command.IsRemoveInfo)
                     {
                         // Simulate response to RemoveInfo command
                         Response response = new Response();

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs?rev=1034059&r1=1034058&r2=1034059&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs Thu Nov 11 19:24:21 2010
@@ -197,7 +197,7 @@ namespace Apache.NMS.Stomp.Transport
             inRead.Value = true;
             try
             {
-                if(command is WireFormatInfo)
+                if(command.IsWireFormatInfo)
                 {
                     lock(monitor)
                     {