summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:49:35 +0000
committerfcolin2007-02-01 09:49:35 +0000
commitde29a2d325468cbc422781908a49e737d8a0b1b0 (patch)
treed8bf73a2d07ff188414a07040342ff5746e523d8
parent21d2f0163c0c67f0701e579844f1e56d449aa4a9 (diff)
downloadivy-csharp-de29a2d325468cbc422781908a49e737d8a0b1b0.zip
ivy-csharp-de29a2d325468cbc422781908a49e737d8a0b1b0.tar.gz
ivy-csharp-de29a2d325468cbc422781908a49e737d8a0b1b0.tar.bz2
ivy-csharp-de29a2d325468cbc422781908a49e737d8a0b1b0.tar.xz
Utilisateur : Fcolin Date : 19/12/05 Heure : 16:54 Archivé dans $/CSharp/Ivy Commentaire: (vss 2)
-rw-r--r--CSharp/Ivy/Ivy/IvyProtocol.cs21
1 files changed, 10 insertions, 11 deletions
diff --git a/CSharp/Ivy/Ivy/IvyProtocol.cs b/CSharp/Ivy/Ivy/IvyProtocol.cs
index 1530558..9cf91de 100644
--- a/CSharp/Ivy/Ivy/IvyProtocol.cs
+++ b/CSharp/Ivy/Ivy/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);
}
}