summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/IvyClient.cs
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:58:15 +0000
committerfcolin2007-02-01 09:58:15 +0000
commit733fc71754b8873d3b34aa4c18937603f3fcc3e4 (patch)
treeb2219a9cba27e6ce9c9a8a1cf563a782a4555730 /CSharp/Ivy/IvyPPC/IvyClient.cs
parent10bd4bca86d12ee30cff3150b5f6c87d1e694277 (diff)
downloadivy-csharp-733fc71754b8873d3b34aa4c18937603f3fcc3e4.zip
ivy-csharp-733fc71754b8873d3b34aa4c18937603f3fcc3e4.tar.gz
ivy-csharp-733fc71754b8873d3b34aa4c18937603f3fcc3e4.tar.bz2
ivy-csharp-733fc71754b8873d3b34aa4c18937603f3fcc3e4.tar.xz
Utilisateur : Fcolin Date : 22/12/05 Heure : 15:14 Archivé dans $/CSharp/Ivy Commentaire: (vss 27)
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyClient.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyClient.cs16
1 files changed, 3 insertions, 13 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs
index 84f93e8..3982543 100644
--- a/CSharp/Ivy/IvyPPC/IvyClient.cs
+++ b/CSharp/Ivy/IvyPPC/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);