From 6ce63ac22f91bed925082c74ecd2c848391665d1 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:49:43 +0000 Subject: Utilisateur : Fcolin Date : 23/06/06 Heure : 11:12 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6) --- CSharp/Ivy/Ivy/IvyProtocol.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CSharp') 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); -- cgit v1.1