diff options
author | fcolin | 2007-02-01 10:01:40 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 10:01:40 +0000 |
commit | 023bdccca1653afd18754073bd70b183992c1273 (patch) | |
tree | 61bccc1416b6ae7b0ab4bdfddcff9c8fd1bd8cce /CSharp/Ivy/IvyPPC/IvyTCPStream.cs | |
parent | b9e98abc47b6880821793a1c0a7b53833982cdc5 (diff) | |
download | ivy-csharp-023bdccca1653afd18754073bd70b183992c1273.zip ivy-csharp-023bdccca1653afd18754073bd70b183992c1273.tar.gz ivy-csharp-023bdccca1653afd18754073bd70b183992c1273.tar.bz2 ivy-csharp-023bdccca1653afd18754073bd70b183992c1273.tar.xz |
Utilisateur : Fcolin Date : 10/02/06 Heure : 16:19 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 4)
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyTCPStream.cs')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyTCPStream.cs | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyTCPStream.cs b/CSharp/Ivy/IvyPPC/IvyTCPStream.cs index 86fad8f..b8fee34 100644 --- a/CSharp/Ivy/IvyPPC/IvyTCPStream.cs +++ b/CSharp/Ivy/IvyPPC/IvyTCPStream.cs @@ -7,31 +7,14 @@ using System.IO; namespace IvyBus
{
- abstract class IvyTCPStream : IvyProtocol
+ abstract class IvyTCPStream : NetworkStream
{
- protected NetworkStream stream;
-
- public IvyTCPStream(Socket socket)
+ public IvyTCPStream(Socket socket)
+ : base(socket, true)
{
- stream = new NetworkStream(socket, true);
- }
- internal void Close()
- {
- stream.Close();
}
+
abstract internal bool receiveMsg();
- //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);
}
}
|