From 98ab5d0164040427f7c554febae125686284e2a7 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 12:03:55 +0000 Subject: modification structure svn --- IvyToDel/IvyPPC/IvyProtocol.cs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 IvyToDel/IvyPPC/IvyProtocol.cs (limited to 'IvyToDel/IvyPPC/IvyProtocol.cs') diff --git a/IvyToDel/IvyPPC/IvyProtocol.cs b/IvyToDel/IvyPPC/IvyProtocol.cs new file mode 100644 index 0000000..1b1f3aa --- /dev/null +++ b/IvyToDel/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); + } +} -- cgit v1.1