From ba503541f07c246f8cb4bf7d4f76a8ff22c0cae8 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:01:32 +0000 Subject: Utilisateur : Fcolin Date : 23/06/06 Heure : 11:12 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6) --- CSharp/Ivy/IvyPPC/IvyProtocol.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CSharp/Ivy') diff --git a/CSharp/Ivy/IvyPPC/IvyProtocol.cs b/CSharp/Ivy/IvyPPC/IvyProtocol.cs index 9921804..1b1f3aa 100644 --- a/CSharp/Ivy/IvyPPC/IvyProtocol.cs +++ b/CSharp/Ivy/IvyPPC/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