summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:54:58 +0000
committerfcolin2007-02-01 09:54:58 +0000
commitf019cbdf690cc815e91968494db22dd495759f6a (patch)
treebab58c14a224855780020c0588beed1b3739b228 /CSharp
parent5f4616b1b62713b8d91df1e6db2b15c4f8d24c56 (diff)
downloadivy-csharp-f019cbdf690cc815e91968494db22dd495759f6a.zip
ivy-csharp-f019cbdf690cc815e91968494db22dd495759f6a.tar.gz
ivy-csharp-f019cbdf690cc815e91968494db22dd495759f6a.tar.bz2
ivy-csharp-f019cbdf690cc815e91968494db22dd495759f6a.tar.xz
Utilisateur : Fcolin Date : 23/12/05 Heure : 16:22 Archivé dans $/CSharp/Ivy Commentaire: (vss 31)
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/IvyPPC/Ivy.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs
index 7a3cec2..b1b9cdd 100644
--- a/CSharp/Ivy/IvyPPC/Ivy.cs
+++ b/CSharp/Ivy/IvyPPC/Ivy.cs
@@ -179,7 +179,7 @@ namespace IvyBus
internal BindingType type;
internal ushort key;
internal MessageHandler callback;
- internal string regexp;
+ internal string expression;
internal object[] args;
}
@@ -475,7 +475,7 @@ namespace IvyBus
ApplicationBinding newbind;
newbind.type = BindingType.BindRegexp;
newbind.key = serial++;
- newbind.regexp = regexp;
+ newbind.expression = regexp;
newbind.callback = callback;
newbind.args = args;
lock (bindings) bindings.Add( newbind.key, newbind);
@@ -484,7 +484,7 @@ namespace IvyBus
{
foreach (IvyClient c in clients )
{
- c.stream.TokenAddRegexp(newbind.key,newbind.regexp);
+ c.stream.TokenAddRegexp(newbind);
}
}
return newbind.key;
@@ -524,7 +524,7 @@ namespace IvyBus
{
foreach (ApplicationBinding bind in bindings.Values )
{
- if ( bind.regexp == re )
+ if (bind.expression == re)
{
try
{
@@ -563,7 +563,7 @@ namespace IvyBus
ApplicationBinding newbind;
newbind.type = BindingType.BindSimple;
newbind.key = serial++;
- newbind.regexp = expression;
+ newbind.expression = expression;
newbind.callback = callback;
newbind.args = args;
lock (bindings) bindings.Add( newbind.key, newbind);
@@ -572,7 +572,7 @@ namespace IvyBus
{
foreach (IvyClient c in clients )
{
- c.stream.TokenAddBinding(newbind.key,newbind.regexp);
+ c.stream.TokenAddBinding(newbind.key, newbind.expression);
}
}
return newbind.key;