From 4987f4410692bfabddfeeadf049bf3f4a4724f4b Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:01:30 +0000 Subject: Utilisateur : Fcolin Date : 10/02/06 Heure : 16:37 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 5) --- CSharp/Ivy/IvyPPC/IvyProtocol.cs | 29 +++++++++++++++-------------- 1 file 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); } } -- cgit v1.1