activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1034059 - in /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport: Failover/FailoverTransport.cs InactivityMonitor.cs
Date Thu, 11 Nov 2010 19:24:21 GMT
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)
                     {



Mime
View raw message