diff options
author | fcolin | 2007-02-01 10:04:51 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 10:04:51 +0000 |
commit | db7f7b2859e316ec1418510ddcd0dd68650fb889 (patch) | |
tree | d3b92c36e3479791f2e4b7e50d2e77c9f64b07ac /CSharp/Ivy/IvyPerf | |
parent | 935ecfac2413d299006fb8c1db850c4336af515b (diff) | |
download | ivy-csharp-db7f7b2859e316ec1418510ddcd0dd68650fb889.zip ivy-csharp-db7f7b2859e316ec1418510ddcd0dd68650fb889.tar.gz ivy-csharp-db7f7b2859e316ec1418510ddcd0dd68650fb889.tar.bz2 ivy-csharp-db7f7b2859e316ec1418510ddcd0dd68650fb889.tar.xz |
Utilisateur : Fcolin Date : 23/06/06 Heure : 11:12 Archivé dans $/CSharp/Ivy/IvyPerf Commentaire: (vss 11)
Diffstat (limited to 'CSharp/Ivy/IvyPerf')
-rw-r--r-- | CSharp/Ivy/IvyPerf/IvyPerf.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/CSharp/Ivy/IvyPerf/IvyPerf.cs b/CSharp/Ivy/IvyPerf/IvyPerf.cs index 1df4224..fc40fdf 100644 --- a/CSharp/Ivy/IvyPerf/IvyPerf.cs +++ b/CSharp/Ivy/IvyPerf/IvyPerf.cs @@ -47,13 +47,11 @@ namespace IvyPerf int timeout = 1000;
if (args.Length > 0)
timeout = int.Parse(args[0]);
- StringCollection my_messsages = new StringCollection();
- my_messsages.Add("ping");
- my_messsages.Add("pong");
- my_messsages.Add("IvyPref");
+ bus.SentMessageFilter.Add("ping");
+ bus.SentMessageFilter.Add("pong");
+ bus.SentMessageFilter.Add("IvyPref");
bus = new Ivy("IvyPerf", "IvyPref ready");
bus.BindingFilter += new EventHandler<IvyEventArgs>(bus_BindingFilter);
- bus.SentMessageClasses = my_messsages;
bus.AutoBinding(typeof(IvyPerf));
bus.Start(null);
origin = currentTime();
|