From 3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605 Mon Sep 17 00:00:00 2001
From: fcolin
Date: Fri, 10 Oct 2008 15:45:54 +0000
Subject: Ajout de commentaire sur les menbres public
---
IvyProbeConsole/IvyProbeConsole.cs | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
(limited to 'IvyProbeConsole/IvyProbeConsole.cs')
diff --git a/IvyProbeConsole/IvyProbeConsole.cs b/IvyProbeConsole/IvyProbeConsole.cs
index 516d702..72d4434 100644
--- a/IvyProbeConsole/IvyProbeConsole.cs
+++ b/IvyProbeConsole/IvyProbeConsole.cs
@@ -15,6 +15,7 @@ namespace IvyProbeConsole
using System.Diagnostics;
using IvyBus;
using Gnu;
+ using System.Collections.ObjectModel;
/// Console implementation of the ivyprobe test program.
///
@@ -164,7 +165,7 @@ namespace IvyProbeConsole
}
if (!quiet)
- System.Console.Out.WriteLine(Ivy.Domains(domain));
+ System.Console.Out.WriteLine("broadcasting on " + Ivy.GetDomain(domain));
bus.Start(domain);
@@ -273,7 +274,7 @@ namespace IvyProbeConsole
target = result.Groups["target"].Value;
ushort id = ushort.Parse(result.Groups["id"].Value);
string message = result.Groups["message"].Value;
- List v = bus.GetClientsByName(target);
+ ReadOnlyCollection v = bus.GetClientsByName(target);
if (v.Count == 0)
println("no Ivy client with the name \"" + target + "\"");
for (int i = 0; i < v.Count; i++)
@@ -352,7 +353,7 @@ namespace IvyProbeConsole
private void receive(object sender, IvyMessageEventArgs e)
{
String s = e.Client.ApplicationName + " sent ";
- s += string.Join(",", e.Arguments);
+ s += string.Join(",", e.GetArguments());
println(s);
}
[Conditional("DEBUG")]
--
cgit v1.1