diff options
author | fcolin | 2007-02-01 10:08:19 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 10:08:19 +0000 |
commit | 2359851a512dd36622ed71c0670dce533c53caa1 (patch) | |
tree | 7f9cc9211332991c4ed72096fda7a0c3a5c21617 /CSharp/Ivy/IvyProbeConsole/IvyProbeConsole.cs | |
parent | 94e5dccbb32ef17972a03858a78934bd04399c29 (diff) | |
download | ivy-csharp-2359851a512dd36622ed71c0670dce533c53caa1.zip ivy-csharp-2359851a512dd36622ed71c0670dce533c53caa1.tar.gz ivy-csharp-2359851a512dd36622ed71c0670dce533c53caa1.tar.bz2 ivy-csharp-2359851a512dd36622ed71c0670dce533c53caa1.tar.xz |
Utilisateur : Fcolin Date : 10/02/06 Heure : 10:24 Archivé dans $/CSharp/Ivy/IvyProbeConsole Commentaire: (vss 11)
Diffstat (limited to 'CSharp/Ivy/IvyProbeConsole/IvyProbeConsole.cs')
-rw-r--r-- | CSharp/Ivy/IvyProbeConsole/IvyProbeConsole.cs | 10 |
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)
{
|