summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:49:43 +0000
committerfcolin2007-02-01 09:49:43 +0000
commit6ce63ac22f91bed925082c74ecd2c848391665d1 (patch)
treeee84f71ab922241c377f9c6d0a30773b615731c0
parent558c856c5b240ca5b66643f07793bea1786d47db (diff)
downloadivy-csharp-6ce63ac22f91bed925082c74ecd2c848391665d1.zip
ivy-csharp-6ce63ac22f91bed925082c74ecd2c848391665d1.tar.gz
ivy-csharp-6ce63ac22f91bed925082c74ecd2c848391665d1.tar.bz2
ivy-csharp-6ce63ac22f91bed925082c74ecd2c848391665d1.tar.xz
Utilisateur : Fcolin Date : 23/06/06 Heure : 11:12 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6)
-rw-r--r--CSharp/Ivy/Ivy/IvyProtocol.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/CSharp/Ivy/Ivy/IvyProtocol.cs b/CSharp/Ivy/Ivy/IvyProtocol.cs
index 9921804..1b1f3aa 100644
--- a/CSharp/Ivy/Ivy/IvyProtocol.cs
+++ b/CSharp/Ivy/Ivy/IvyProtocol.cs
@@ -3,6 +3,8 @@ using System.Text;
namespace IvyBus
{
+ public enum BindingType { Regexp, Simple };
+
internal interface IvyProtocol
{
void Close();
@@ -10,7 +12,7 @@ namespace IvyBus
void TokenStartRegexp(ushort port, string appName);
void TokenEndRegexp();
void TokenApplicationId(ushort priority, string appId);
- void TokenAddBinding(Ivy.ApplicationBinding bind);
+ void TokenAddBinding(BindingType type, ushort id, string expression);
void TokenDelBinding(ushort bind);
void TokenDirectMsg(ushort id, string message);
void TokenPong(string s);