summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/IvyProbe/IvyProbe.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/CSharp/Ivy/IvyProbe/IvyProbe.cs b/CSharp/Ivy/IvyProbe/IvyProbe.cs
index 4d48607..86c6c9b 100644
--- a/CSharp/Ivy/IvyProbe/IvyProbe.cs
+++ b/CSharp/Ivy/IvyProbe/IvyProbe.cs
@@ -37,6 +37,10 @@ namespace IvyProbe
private void die(object sender, IvyDieEventArgs e)
{
append("receive die from " + e.Client.ApplicationName + " cause: " + e.Argument);
+ }
+ private void directMessage(object sender, IvyEventArgs e)
+ {
+ append(e.Client.ApplicationName + " direct Message " + e.Id + e.Argument);
}
private void receive(object sender, IvyMessageEventArgs e)
{
@@ -47,13 +51,9 @@ namespace IvyProbe
receive_str += string.Join(",", args);
receive_str += "]";
+ receive_str += " for '" + ((IvyApplicationBinding)sender).FormatedExpression + "'";
append(receive_str);
}
- private void directMessage(object sender, IvyEventArgs e)
- {
- append(e.Client.ApplicationName + " direct Message " + e.Id + e.Argument);
- }
-
public void RegexpCB(System.Object event_sender, System.EventArgs e)
{
// ajoute la nouvelle regex
@@ -161,7 +161,8 @@ namespace IvyProbe
private void ivyprobe(object sender, IvyMessageEventArgs e)
{
-
+ // just for testing of Desin Bindings
+ receive(sender, e);
}