diff options
author | fcolin | 2007-02-01 10:02:24 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 10:02:24 +0000 |
commit | c9a6df2a3385f432419847800344142e4402b7b6 (patch) | |
tree | a9b6a72f8c2e25186af4ec3da266a35b8effa204 /CSharp/Ivy/IvyPPC/IvyTCPStreamV4.cs | |
parent | 66a6d038d1a141695ada1a463178fe997724304f (diff) | |
download | ivy-csharp-c9a6df2a3385f432419847800344142e4402b7b6.zip ivy-csharp-c9a6df2a3385f432419847800344142e4402b7b6.tar.gz ivy-csharp-c9a6df2a3385f432419847800344142e4402b7b6.tar.bz2 ivy-csharp-c9a6df2a3385f432419847800344142e4402b7b6.tar.xz |
Utilisateur : Fcolin Date : 23/12/05 Heure : 16:22 Archivé dans $/CSharp/Ivy Commentaire: (vss 6)
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyTCPStreamV4.cs')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyTCPStreamV4.cs | 15 |
1 files changed, 9 insertions, 6 deletions
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)
|