From c9a6df2a3385f432419847800344142e4402b7b6 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:02:24 +0000 Subject: Utilisateur : Fcolin Date : 23/12/05 Heure : 16:22 Archivé dans $/CSharp/Ivy Commentaire: (vss 6) --- CSharp/Ivy/IvyPPC/IvyTCPStreamV4.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'CSharp/Ivy') diff --git a/CSharp/Ivy/IvyPPC/IvyTCPStreamV4.cs b/CSharp/Ivy/IvyPPC/IvyTCPStreamV4.cs index 0be051e..de3651a 100644 --- a/CSharp/Ivy/IvyPPC/IvyTCPStreamV4.cs +++ b/CSharp/Ivy/IvyPPC/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