summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/Ivy.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy/IvyPPC/Ivy.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/Ivy.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs
index ccd8df3..b56f251 100644
--- a/CSharp/Ivy/IvyPPC/Ivy.cs
+++ b/CSharp/Ivy/IvyPPC/Ivy.cs
@@ -184,6 +184,18 @@ namespace IvyBus
((IvyWatcher) watchers[i]).start();
}
}
+ /* a small private method for debbugging purposes */
+
+ public String domains(String toparse)
+ {
+ String s = "broadcasting on ";
+ Ivy.Domain[] d = parseDomains(toparse);
+ for (int index = 0; index < d.Length; index++)
+ {
+ s += d[index].Domainaddr + ":" + d[index].Port + " ";
+ }
+ return s;
+ }
internal Domain[] parseDomains(String domainbus)
{