summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/IvyProtocol.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyProtocol.cs')
-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);