From 2359851a512dd36622ed71c0670dce533c53caa1 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:08:19 +0000 Subject: Utilisateur : Fcolin Date : 10/02/06 Heure : 10:24 Archivé dans $/CSharp/Ivy/IvyProbeConsole Commentaire: (vss 11) --- CSharp/Ivy/IvyProbeConsole/IvyProbeConsole.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'CSharp/Ivy/IvyProbeConsole') 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) { -- cgit v1.1