diff options
author | fcolin | 2007-02-01 09:49:41 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:49:41 +0000 |
commit | 558c856c5b240ca5b66643f07793bea1786d47db (patch) | |
tree | 41cb4eef7435126e8a6ce1c717d4cd1054ecb5e8 /CSharp | |
parent | 73f6a90d3f8e81dd430299f46be35db721e3e91a (diff) | |
download | ivy-csharp-558c856c5b240ca5b66643f07793bea1786d47db.zip ivy-csharp-558c856c5b240ca5b66643f07793bea1786d47db.tar.gz ivy-csharp-558c856c5b240ca5b66643f07793bea1786d47db.tar.bz2 ivy-csharp-558c856c5b240ca5b66643f07793bea1786d47db.tar.xz |
Utilisateur : Fcolin Date : 10/02/06 Heure : 16:37 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 5)
Diffstat (limited to 'CSharp')
-rw-r--r-- | CSharp/Ivy/Ivy/IvyProtocol.cs | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/CSharp/Ivy/Ivy/IvyProtocol.cs b/CSharp/Ivy/Ivy/IvyProtocol.cs index ffee993..9921804 100644 --- a/CSharp/Ivy/Ivy/IvyProtocol.cs +++ b/CSharp/Ivy/Ivy/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);
}
}
|