summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:01:24 +0000
committerfcolin2007-02-01 10:01:24 +0000
commitb3b8c50e1d14c19e87c210ca7729e051e3630e10 (patch)
treea39ece67d7b8a4fd3c4e1a665711ee559b326397
parent63fb62eb6b142025408b8218d7155b59102a6d40 (diff)
downloadivy-csharp-b3b8c50e1d14c19e87c210ca7729e051e3630e10.zip
ivy-csharp-b3b8c50e1d14c19e87c210ca7729e051e3630e10.tar.gz
ivy-csharp-b3b8c50e1d14c19e87c210ca7729e051e3630e10.tar.bz2
ivy-csharp-b3b8c50e1d14c19e87c210ca7729e051e3630e10.tar.xz
Utilisateur : Fcolin Date : 19/12/05 Heure : 16:54 Archivé dans $/CSharp/Ivy Commentaire: (vss 2)
-rw-r--r--CSharp/Ivy/IvyPPC/IvyProtocol.cs21
1 files changed, 10 insertions, 11 deletions
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);
}
}