diff options
author | fcolin | 2007-02-01 09:55:50 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:55:50 +0000 |
commit | d7927311f0aec6d54332fef191be6f0d484ea259 (patch) | |
tree | 0441da4ff7b71a9f086e59f25367204df33d6403 /CSharp/Ivy/IvyPPC | |
parent | 72837d02119a06f7ce5250c8bf0c0d66408f4d7a (diff) | |
download | ivy-csharp-d7927311f0aec6d54332fef191be6f0d484ea259.zip ivy-csharp-d7927311f0aec6d54332fef191be6f0d484ea259.tar.gz ivy-csharp-d7927311f0aec6d54332fef191be6f0d484ea259.tar.bz2 ivy-csharp-d7927311f0aec6d54332fef191be6f0d484ea259.tar.xz |
Utilisateur : Fcolin Date : 10/02/06 Heure : 10:24 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 57)
Diffstat (limited to 'CSharp/Ivy/IvyPPC')
-rw-r--r-- | CSharp/Ivy/IvyPPC/Ivy.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs index 3a7a20d..2255cbc 100644 --- a/CSharp/Ivy/IvyPPC/Ivy.cs +++ b/CSharp/Ivy/IvyPPC/Ivy.cs @@ -351,7 +351,7 @@ namespace IvyBus /// <example> This sample shows how to start working with Ivy.
/// <code>
/// Ivy bus = new Ivy("Dummy agent","ready");
- /// bus.bindMsg("(.*)",new Ivy.MessageHandler(myMessageListener));
+ /// bus.bindMsg("(.*)",myMessageListener);
/// bus.start(null);
/// </code>
/// How to send & receive:
@@ -384,7 +384,14 @@ namespace IvyBus {
syncControl = sync;
}
-
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing)
+ {
+ stop();
+ }
+ base.Dispose(disposing);
+ }
// Autobinding on static method
public void AutoBinding(Type type)
{
|