summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy')
-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);
}
}