diff options
author | fcolin | 2007-02-01 12:05:47 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 12:05:47 +0000 |
commit | 3593a483d5566779f1d56e037615685cdc77c0a0 (patch) | |
tree | 300986bb2f463148fd0773efc5f69654ae2cd53f /IvyPPC/IvyProtocol.cs | |
parent | 3ce9b3f180e3f52c7be79e0a23bbd1a0b5120ac6 (diff) | |
download | ivy-csharp-3593a483d5566779f1d56e037615685cdc77c0a0.zip ivy-csharp-3593a483d5566779f1d56e037615685cdc77c0a0.tar.gz ivy-csharp-3593a483d5566779f1d56e037615685cdc77c0a0.tar.bz2 ivy-csharp-3593a483d5566779f1d56e037615685cdc77c0a0.tar.xz |
modification structure svn
Diffstat (limited to 'IvyPPC/IvyProtocol.cs')
-rw-r--r-- | IvyPPC/IvyProtocol.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/IvyPPC/IvyProtocol.cs b/IvyPPC/IvyProtocol.cs new file mode 100644 index 0000000..1b1f3aa --- /dev/null +++ b/IvyPPC/IvyProtocol.cs @@ -0,0 +1,25 @@ +using System;
+using System.Text;
+
+namespace IvyBus
+{
+ public enum BindingType { Regexp, Simple };
+
+ internal interface IvyProtocol
+ {
+ void Close();
+ bool receiveMsg();
+ void TokenStartRegexp(ushort port, string appName);
+ void TokenEndRegexp();
+ void TokenApplicationId(ushort priority, string appId);
+ void TokenAddBinding(BindingType type, ushort id, string expression);
+ void TokenDelBinding(ushort bind);
+ void TokenDirectMsg(ushort id, string message);
+ void TokenPong(string s);
+ void TokenPing(string s);
+ void TokenBye(ushort id, string message);
+ void TokenDie(ushort err, string message);
+ void TokenMsg(ushort key, string[] args);
+ void TokenError(ushort id, string message);
+ }
+}
|