From b3b8c50e1d14c19e87c210ca7729e051e3630e10 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:01:24 +0000 Subject: Utilisateur : Fcolin Date : 19/12/05 Heure : 16:54 Archivé dans $/CSharp/Ivy Commentaire: (vss 2) --- CSharp/Ivy/IvyPPC/IvyProtocol.cs | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'CSharp') diff --git a/CSharp/Ivy/IvyPPC/IvyProtocol.cs b/CSharp/Ivy/IvyPPC/IvyProtocol.cs index 1530558..9cf91de 100644 --- a/CSharp/Ivy/IvyPPC/IvyProtocol.cs +++ b/CSharp/Ivy/IvyPPC/IvyProtocol.cs @@ -1,24 +1,23 @@ using System; -using System.Collections.Generic; using System.Text; namespace IvyBus { interface IvyProtocolInterface { - void TokenStartRegexp(int port, string appName); + void TokenStartRegexp(ushort port, string appName); void TokenEndRegexp(); - void TokenApplicationId(int priority, string appId); - void TokenAddBinding(int id, string regexp); - void TokenAddRegexp(int id, string regexp); - void TokenDelBinding(int bind); - void TokenDirectMsg(int id, IvyArgument message); + void TokenApplicationId(ushort priority, string appId); + void TokenAddBinding(ushort id, string regexp); + void TokenAddRegexp(ushort id, string regexp); + void TokenDelBinding(ushort bind); + void TokenDirectMsg(ushort id, string message); void TokenPong(string s); void TokenPing(string s); - void TokenBye(int id, string message); - void TokenDie(int err, string message); - void TokenMsg(int key, IvyArgument args); - void TokenError(int id, string message); + 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