summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:49:51 +0000
committerfcolin2007-02-01 09:49:51 +0000
commitba29b9acfa845cf7cb51d9af25a78094b408a3f9 (patch)
treef881aa1e8accdf5b0d41dc96d3ed2819555a2c4c /CSharp
parent2992c59950e092167c101d116a74b5716751716d (diff)
downloadivy-csharp-ba29b9acfa845cf7cb51d9af25a78094b408a3f9.zip
ivy-csharp-ba29b9acfa845cf7cb51d9af25a78094b408a3f9.tar.gz
ivy-csharp-ba29b9acfa845cf7cb51d9af25a78094b408a3f9.tar.bz2
ivy-csharp-ba29b9acfa845cf7cb51d9af25a78094b408a3f9.tar.xz
Utilisateur : Fcolin Date : 10/02/06 Heure : 16:19 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 4)
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/Ivy/IvyTCPStream.cs25
1 files changed, 4 insertions, 21 deletions
diff --git a/CSharp/Ivy/Ivy/IvyTCPStream.cs b/CSharp/Ivy/Ivy/IvyTCPStream.cs
index 86fad8f..b8fee34 100644
--- a/CSharp/Ivy/Ivy/IvyTCPStream.cs
+++ b/CSharp/Ivy/Ivy/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);
}
}