From d197a59342a0bbf928de523daa13dff2c6997f9d Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:50:35 +0000 Subject: Utilisateur : Fcolin Date : 23/12/05 Heure : 16:22 Archivé dans $/CSharp/Ivy Commentaire: (vss 6) --- CSharp/Ivy/Ivy/IvyTCPStreamV4.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'CSharp/Ivy') diff --git a/CSharp/Ivy/Ivy/IvyTCPStreamV4.cs b/CSharp/Ivy/Ivy/IvyTCPStreamV4.cs index 0be051e..de3651a 100644 --- a/CSharp/Ivy/Ivy/IvyTCPStreamV4.cs +++ b/CSharp/Ivy/Ivy/IvyTCPStreamV4.cs @@ -96,13 +96,16 @@ namespace IvyBus sendMsg(MessageType.ApplicationId, priority, appId); } - public override void TokenAddRegexp(ushort id, string bind) + internal override void TokenAddBinding(IvyBindingBase bind) { - sendMsg(MessageType.AddRegexp , id, bind); /* perhaps we should perform some checking here */ - } - public override void TokenAddBinding(ushort id, string bind) - { - sendMsg(MessageType.AddBinding, id, bind); /* perhaps we should perform some checking here */ + if (bind) + { + sendMsg(MessageType.AddRegexp, id, bind); /* perhaps we should perform some checking here */ + } + else + { + sendMsg(MessageType.AddBinding, id, bind); /* perhaps we should perform some checking here */ + } } public override void TokenDelBinding(ushort id) -- cgit v1.1