summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:01:32 +0000
committerfcolin2007-02-01 10:01:32 +0000
commitba503541f07c246f8cb4bf7d4f76a8ff22c0cae8 (patch)
tree8d2df729c39a21e60463f5ac21ef513b991e3af3
parent4987f4410692bfabddfeeadf049bf3f4a4724f4b (diff)
downloadivy-csharp-ba503541f07c246f8cb4bf7d4f76a8ff22c0cae8.zip
ivy-csharp-ba503541f07c246f8cb4bf7d4f76a8ff22c0cae8.tar.gz
ivy-csharp-ba503541f07c246f8cb4bf7d4f76a8ff22c0cae8.tar.bz2
ivy-csharp-ba503541f07c246f8cb4bf7d4f76a8ff22c0cae8.tar.xz
Utilisateur : Fcolin Date : 23/06/06 Heure : 11:12 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6)
-rw-r--r--CSharp/Ivy/IvyPPC/IvyProtocol.cs4
1 files changed, 3 insertions, 1 deletions
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);