summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:01:30 +0000
committerfcolin2007-02-01 10:01:30 +0000
commit4987f4410692bfabddfeeadf049bf3f4a4724f4b (patch)
tree032f47ee648bfc15ae00ae034fe82b89ae1a2be2
parent62fc1bac626c3fd25ad140d68d1c1c580626a518 (diff)
downloadivy-csharp-4987f4410692bfabddfeeadf049bf3f4a4724f4b.zip
ivy-csharp-4987f4410692bfabddfeeadf049bf3f4a4724f4b.tar.gz
ivy-csharp-4987f4410692bfabddfeeadf049bf3f4a4724f4b.tar.bz2
ivy-csharp-4987f4410692bfabddfeeadf049bf3f4a4724f4b.tar.xz
Utilisateur : Fcolin Date : 10/02/06 Heure : 16:37 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 5)
-rw-r--r--CSharp/Ivy/IvyPPC/IvyProtocol.cs29
1 files changed, 15 insertions, 14 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyProtocol.cs b/CSharp/Ivy/IvyPPC/IvyProtocol.cs
index ffee993..9921804 100644
--- a/CSharp/Ivy/IvyPPC/IvyProtocol.cs
+++ b/CSharp/Ivy/IvyPPC/IvyProtocol.cs
@@ -3,20 +3,21 @@ using System.Text;
namespace IvyBus
{
- public abstract class IvyProtocol
+ internal interface IvyProtocol
{
- abstract internal void TokenStartRegexp(ushort port, string appName);
- abstract internal void TokenEndRegexp();
- abstract internal void TokenApplicationId(ushort priority, string appId);
- abstract internal void TokenAddBinding(Ivy.ApplicationBinding bind);
- abstract internal void TokenDelBinding(ushort bind);
- abstract internal void TokenDirectMsg(ushort id, string message);
- abstract internal void TokenPong(string s);
- abstract internal void TokenPing(string s);
- abstract internal void TokenBye(ushort id, string message);
- abstract internal void TokenDie(ushort err, string message);
- abstract internal void TokenMsg(ushort key, string[] args);
- abstract internal void TokenError(ushort id, string message);
-
+ void Close();
+ bool receiveMsg();
+ void TokenStartRegexp(ushort port, string appName);
+ void TokenEndRegexp();
+ void TokenApplicationId(ushort priority, string appId);
+ void TokenAddBinding(Ivy.ApplicationBinding bind);
+ 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);
}
}