summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/IvyTCPStream.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyTCPStream.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyTCPStream.cs33
1 files changed, 12 insertions, 21 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyTCPStream.cs b/CSharp/Ivy/IvyPPC/IvyTCPStream.cs
index 3e2eebf..dd32b20 100644
--- a/CSharp/Ivy/IvyPPC/IvyTCPStream.cs
+++ b/CSharp/Ivy/IvyPPC/IvyTCPStream.cs
@@ -13,7 +13,6 @@ namespace IvyBus
public IvyTCPStream(Socket socket)
{
- //stream = new BufferedStream(new NetworkStream(socket,true));
stream = new NetworkStream(socket, true);
}
internal void Close()
@@ -22,25 +21,17 @@ namespace IvyBus
}
abstract internal bool receiveMsg();
- abstract public void TokenStartRegexp(ushort port, string appName);
-
- abstract public void TokenEndRegexp();
- abstract public void TokenApplicationId(ushort priority, string appId);
-
- abstract public void TokenAddRegexp(ushort id, string bind);
- abstract public void TokenAddBinding(ushort id, string bind);
-
- abstract public void TokenDelBinding(ushort id);
-
- abstract public void TokenDirectMsg(ushort id, string message);
- abstract public void TokenPong(string s);
- abstract public void TokenPing(string s);
-
- abstract public void TokenBye(ushort id, string message);
- abstract public void TokenDie(ushort id, string message);
-
- abstract public void TokenMsg(ushort key, string[] args);
-
- abstract public void TokenError(ushort key, string arg);
+ abstract internal void TokenStartRegexp(ushort port, string appName);
+ abstract internal void TokenEndRegexp();
+ abstract internal void TokenApplicationId(ushort priority, string appId);
+ abstract internal void TokenAddBinding(IvyBindingBase bind);
+ abstract internal void TokenDelBinding(ushort id);
+ 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 id, string message);
+ abstract internal void TokenMsg(ushort key, string[] args);
+ abstract internal void TokenError(ushort key, string arg);
}
}