diff options
Diffstat (limited to 'CSharp/Ivy/IvyPPC')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyProtocol.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyProtocol.cs b/CSharp/Ivy/IvyPPC/IvyProtocol.cs new file mode 100644 index 0000000..1530558 --- /dev/null +++ b/CSharp/Ivy/IvyPPC/IvyProtocol.cs @@ -0,0 +1,24 @@ +using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace IvyBus
+{
+ interface IvyProtocolInterface
+ {
+ void TokenStartRegexp(int port, string appName);
+ void TokenEndRegexp();
+ void TokenApplicationId(int priority, string appId);
+ void TokenAddBinding(int id, string regexp);
+ void TokenAddRegexp(int id, string regexp);
+ void TokenDelBinding(int bind);
+ void TokenDirectMsg(int id, IvyArgument message);
+ void TokenPong(string s);
+ void TokenPing(string s);
+ void TokenBye(int id, string message);
+ void TokenDie(int err, string message);
+ void TokenMsg(int key, IvyArgument args);
+ void TokenError(int id, string message);
+
+ }
+}
|