summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:50:35 +0000
committerfcolin2007-02-01 09:50:35 +0000
commitd197a59342a0bbf928de523daa13dff2c6997f9d (patch)
treee081c85600b9d47f30801590590cf692dea7b7c1 /CSharp/Ivy
parentbbf103a34914a8059aa5d394b5b4e54f2f6c1a0b (diff)
downloadivy-csharp-d197a59342a0bbf928de523daa13dff2c6997f9d.zip
ivy-csharp-d197a59342a0bbf928de523daa13dff2c6997f9d.tar.gz
ivy-csharp-d197a59342a0bbf928de523daa13dff2c6997f9d.tar.bz2
ivy-csharp-d197a59342a0bbf928de523daa13dff2c6997f9d.tar.xz
Utilisateur : Fcolin Date : 23/12/05 Heure : 16:22 Archivé dans $/CSharp/Ivy Commentaire: (vss 6)
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r--CSharp/Ivy/Ivy/IvyTCPStreamV4.cs15
1 files changed, 9 insertions, 6 deletions
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)