summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:03:54 +0000
committerfcolin2007-02-01 10:03:54 +0000
commit6b9b492882f630c801d92fd43f81e27bd82602df (patch)
treef1ea78dbd9471cdf382e365201a1d846f386d708 /CSharp
parent99607f0dde8ce8a8dea58601d92d142a81cecec4 (diff)
downloadivy-csharp-6b9b492882f630c801d92fd43f81e27bd82602df.zip
ivy-csharp-6b9b492882f630c801d92fd43f81e27bd82602df.tar.gz
ivy-csharp-6b9b492882f630c801d92fd43f81e27bd82602df.tar.bz2
ivy-csharp-6b9b492882f630c801d92fd43f81e27bd82602df.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)
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyWatcher.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyWatcher.cs b/CSharp/Ivy/IvyPPC/IvyWatcher.cs
index 0c56d07..df7788d 100644
--- a/CSharp/Ivy/IvyPPC/IvyWatcher.cs
+++ b/CSharp/Ivy/IvyPPC/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)
{