diff options
author | fcolin | 2008-10-10 15:45:54 +0000 |
---|---|---|
committer | fcolin | 2008-10-10 15:45:54 +0000 |
commit | 3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605 (patch) | |
tree | b4c691f61e44c2310887ccb77b94a519a73a7fdb /Ivy/IvyWatcher.cs | |
parent | 8d10e8bbd1e19adc7c70e1101dbb69c213c910dd (diff) | |
download | ivy-csharp-3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605.zip ivy-csharp-3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605.tar.gz ivy-csharp-3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605.tar.bz2 ivy-csharp-3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605.tar.xz |
Ajout de commentaire sur les menbres public
Diffstat (limited to 'Ivy/IvyWatcher.cs')
-rw-r--r-- | Ivy/IvyWatcher.cs | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Ivy/IvyWatcher.cs b/Ivy/IvyWatcher.cs index b985ada..cc3fab1 100644 --- a/Ivy/IvyWatcher.cs +++ b/Ivy/IvyWatcher.cs @@ -81,9 +81,10 @@ namespace IvyBus }
}
- /// <summary> the behaviour of each thread watching the UDP socket.
+ /// <summary>
+ /// the behaviour of each thread watching the UDP socket.
/// </summary>
- public void Run()
+ private void Run()
{
Ivy.traceProtocol(Resources.IvyWatcher, "beginning of a watcher Thread");
@@ -172,7 +173,9 @@ namespace IvyBus Ivy.traceProtocol(Resources.IvyWatcher, "ending stopping an IvyWatcher");
}
}
-
+ /// <summary>
+ /// send the boradcst message on all domains
+ /// </summary>
internal virtual void start()
{
lock (stream)
@@ -197,14 +200,15 @@ namespace IvyBus if (disposing)
{
// Free other state (managed objects).
+ if (stream != null)
+ {
+ stream.Close();
+ stream = null;
+ }
}
// Free your own state (unmanaged objects).
// Set large fields to null.
- if (stream != null)
- {
- stream.Close();
- stream = null;
- }
+
}
#endregion
|