summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:52:05 +0000
committerfcolin2007-02-01 09:52:05 +0000
commit9da43ee73e6701b39922cd45aa81ce82ec7e78c5 (patch)
tree36c1b78025a9e38b321fac14c365d0e8ef9cd031
parentb477cfdf56e02df45372338ee80d155e69b86d08 (diff)
downloadivy-csharp-9da43ee73e6701b39922cd45aa81ce82ec7e78c5.zip
ivy-csharp-9da43ee73e6701b39922cd45aa81ce82ec7e78c5.tar.gz
ivy-csharp-9da43ee73e6701b39922cd45aa81ce82ec7e78c5.tar.bz2
ivy-csharp-9da43ee73e6701b39922cd45aa81ce82ec7e78c5.tar.xz
Utilisateur : Fcolin Date : 2/06/06 Heure : 16:47 Archivé dans $/CSharp/Ivy/Ivy Commentaire: Mise en conformite du code avec les guidelines , et changement prototype evenements (vss 25)
-rw-r--r--CSharp/Ivy/Ivy/IvyWatcher.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/CSharp/Ivy/Ivy/IvyWatcher.cs b/CSharp/Ivy/Ivy/IvyWatcher.cs
index 0c56d07..df7788d 100644
--- a/CSharp/Ivy/Ivy/IvyWatcher.cs
+++ b/CSharp/Ivy/Ivy/IvyWatcher.cs
@@ -170,35 +170,6 @@ namespace IvyBus
}
}
-
- internal static String getDomain(string net)
- {
- int sep_index = net.LastIndexOf(":");
- if (sep_index != - 1)
- {
- net = net.Substring(0, (sep_index) - (0));
- }
- try
- {
- net += ".255.255.255";
- Regex exp = new Regex("^(\\d+\\.\\d+\\.\\d+\\.\\d+).*");
- net = exp.Replace(net, "$1");
- }
- catch (ArgumentException e)
- {
- traceDebug("Bad broascat addr " + net + "error " + e.Message);
- return null;
- }
- return net;
- }
-
- internal static int getPort(string net)
- {
- if (net == null) return Ivy.DEFAULT_PORT;
- int sep_index = net.LastIndexOf(":");
- int port = (sep_index == - 1)?Ivy.DEFAULT_PORT:Int32.Parse(net.Substring(sep_index + 1));
- return port;
- }
[Conditional("DEBUG")]
private static void traceDebug(string s)
{