diff options
author | fcolin | 2007-02-01 11:59:19 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 11:59:19 +0000 |
commit | 31a4ba441a313dca7821cae97378ac77b90068cc (patch) | |
tree | 0a1ce34e3217d3810cff6d86c8d7e215b783975c /Ivy/IvyPPC/IvyProtocol.cs | |
parent | cbf21e890ed2df9dc964bd017b48da8e94e2c608 (diff) | |
download | ivy-csharp-31a4ba441a313dca7821cae97378ac77b90068cc.zip ivy-csharp-31a4ba441a313dca7821cae97378ac77b90068cc.tar.gz ivy-csharp-31a4ba441a313dca7821cae97378ac77b90068cc.tar.bz2 ivy-csharp-31a4ba441a313dca7821cae97378ac77b90068cc.tar.xz |
suppression niveaux
Diffstat (limited to 'Ivy/IvyPPC/IvyProtocol.cs')
-rw-r--r-- | Ivy/IvyPPC/IvyProtocol.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Ivy/IvyPPC/IvyProtocol.cs b/Ivy/IvyPPC/IvyProtocol.cs new file mode 100644 index 0000000..1b1f3aa --- /dev/null +++ b/Ivy/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);
+ }
+}
|