summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyProbeConsole
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy/IvyProbeConsole')
-rw-r--r--CSharp/Ivy/IvyProbeConsole/IvyProbeConsole.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/CSharp/Ivy/IvyProbeConsole/IvyProbeConsole.cs b/CSharp/Ivy/IvyProbeConsole/IvyProbeConsole.cs
index e574057..e366a2a 100644
--- a/CSharp/Ivy/IvyProbeConsole/IvyProbeConsole.cs
+++ b/CSharp/Ivy/IvyProbeConsole/IvyProbeConsole.cs
@@ -132,10 +132,10 @@ namespace IvyProbeConsole
throw new IvyException("Probe already started");
this.bus = bus;
- bus.ClientConnected += new Ivy.ClientConnectedHandler( connect );
- bus.ClientDisconnected += new Ivy.ClientDisconnectedHandler( disconnect );
- bus.dieReceived += new Ivy.DieHandler( die );
- bus.DirectMessageReceived += new Ivy.DirectMessageHandler( directMessage );
+ bus.ClientConnected += connect;
+ bus.ClientDisconnected += disconnect;
+ bus.dieReceived += die ;
+ bus.DirectMessageReceived += directMessage;
looperThread = new Thread(new ThreadStart(Run));
looperThread.Name = "Keyboard Input Thread";
@@ -206,7 +206,7 @@ namespace IvyProbeConsole
{
String regexp = s.Substring(6);
println("you want to subscribe to " + regexp);
- bus.bindMsg(regexp, new Ivy.MessageHandler(receive));
+ bus.bindMsg(regexp, receive);
}
else if (s.LastIndexOf(".ping ") >= 0)
{