summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:46:49 +0000
committerfcolin2007-02-01 09:46:49 +0000
commitb0657da26b9087993dc0fa5ebc9bce57c8149566 (patch)
tree8cd48d9ad7cd53f4c07a2df785d96b0a040fd751 /CSharp/Ivy
parentb9cc2b31401f7ea67983057ace7036beb624d322 (diff)
downloadivy-csharp-b0657da26b9087993dc0fa5ebc9bce57c8149566.zip
ivy-csharp-b0657da26b9087993dc0fa5ebc9bce57c8149566.tar.gz
ivy-csharp-b0657da26b9087993dc0fa5ebc9bce57c8149566.tar.bz2
ivy-csharp-b0657da26b9087993dc0fa5ebc9bce57c8149566.tar.xz
Utilisateur : Fcolin Date : 22/12/05 Heure : 15:14 Archivé dans $/CSharp/Ivy Commentaire: (vss 27)
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r--CSharp/Ivy/Ivy/IvyClient.cs16
1 files changed, 3 insertions, 13 deletions
diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs
index 84f93e8..3982543 100644
--- a/CSharp/Ivy/Ivy/IvyClient.cs
+++ b/CSharp/Ivy/Ivy/IvyClient.cs
@@ -26,18 +26,6 @@ namespace IvyBus
/// </remarks>
public class IvyClient : IvyProtocolInterface, IComparable<IvyClient>
{
- //public class IvyClientPriority : IComparer
- //{
-
- // // Calls CaseInsensitiveComparer.Compare with the parameters reversed.
- // int IComparer.Compare( Object x, Object y )
- // {
- // IvyClient c1 = (IvyClient)x;
- // IvyClient c2 = (IvyClient)y;
- // return( c2.clientPriority - c1.clientPriority );
- // }
-
- //}
public int CompareTo(IvyClient y)
{
return (y.clientPriority - clientPriority);
@@ -235,7 +223,9 @@ namespace IvyBus
lock( bindings )
{
- IvyBindingSimple.Prepare( message );
+ // hash message in V4 protocol only
+ if (Properties.Settings.Default.IvyProtocolVersion == 4)
+ IvyBindingSimple.Prepare(message);
foreach (IvyBindingBase bind in bindings.Values )
{
string[] args = bind.Match(message);