From 3de07903984d87bae2aea10bcf856d5cdd9b147c Mon Sep 17 00:00:00 2001
From: fcolin
Date: Thu, 1 Feb 2007 09:57:35 +0000
Subject: Utilisateur : Fcolin Date : 24/07/03 Heure : 16:07 Archivé
dans $/EScribe/Ivy Commentaire: (vss 7)
---
CSharp/Ivy/IvyPPC/IvyClient.cs | 41 +++++++++++++++++++----------------------
1 file changed, 19 insertions(+), 22 deletions(-)
(limited to 'CSharp/Ivy')
diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs
index 2244b17..9ccac6e 100644
--- a/CSharp/Ivy/IvyPPC/IvyClient.cs
+++ b/CSharp/Ivy/IvyPPC/IvyClient.cs
@@ -1,17 +1,8 @@
-/// A private Class for the the peers on the bus.
+/// François-Régis Colin
+/// http://www.tls.cena.fr/products/ivy/
/// *
-///
-/// François-Régis Colin
-///
-/// http://www.tls.cena.fr/products/ivy/
+/// (C) CENA
/// *
-/// each time a connexion is made with a remote peer, the regexp are exchanged
-/// once ready, a ready message is sent, and then we can send messages,
-/// die messages, direct messages, add or remove regexps, or quit. A thread is
-/// created for each remote client.
-/// *
-///
-///
namespace IvyBus
{
using System;
@@ -24,6 +15,8 @@ namespace IvyBus
using System.Net.Sockets;
using System.Configuration;
+ /// A private Class for the the peers on the bus.
+ ///
internal class MyTcpClient : TcpClient
{
public IPAddress RemoteAddress
@@ -52,7 +45,14 @@ namespace IvyBus
Client = sock;
}
}
-
+ /// A Class for the the peers on the bus.
+ ///
+ ///
+ /// each time a connexion is made with a remote peer, the regexp are exchanged
+ /// once ready, a ready message is sent, and then we can send messages,
+ /// die messages, direct messages, add or remove regexps, or quit. A thread is
+ /// created for each remote client.
+ ///
public class IvyClient
{
public String ApplicationName
@@ -177,10 +177,7 @@ namespace IvyBus
}
/// returns the name of the remote agent.
- ///
-
-
- /// allow an Ivy package class to access the list of regexps at a
+ /// allow an Ivy package class to access the list of regexps at a
/// given time.
/// perhaps we should implement a new IvyApplicationListener method to
/// allow the notification of regexp addition and deletion
@@ -199,9 +196,9 @@ namespace IvyBus
/// sends a direct message to the peer
///
- /// the numeric value provided to the remote client
+ /// the numeric value provided to the remote client
///
- /// the string that will be match-tested
+ /// the string that will be match-tested
///
///
public void sendDirectMsg(int id, String message)
@@ -211,7 +208,7 @@ namespace IvyBus
/// closes the connexion to the peer.
///
- /// should I send Bye message ?
+ /// should I send Bye message ?
/// the thread managing the socket is stopped
///
///
@@ -231,7 +228,7 @@ namespace IvyBus
/// sends the substrings of a message to the peer for each matching regexp.
///
- /// the string that will be match-tested
+ /// the string that will be match-tested
///
/// the number of messages sent to the peer
///
@@ -264,7 +261,7 @@ namespace IvyBus
/// compares two peers the id is the couple (host,service port).
///
- /// the other peer
+ /// the other peer
///
/// true if the peers are similir. This should not happen, it is bad
/// © ® (tm)
--
cgit v1.1