summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:04:32 +0000
committerfcolin2007-02-01 10:04:32 +0000
commit46e881630f39253aa13ce09986a25da9d84f10cd (patch)
tree91d8f463b91c5f482663c7b828d4cfdefad408cf /CSharp/Ivy
parent60e715105d19a93bea7ff167bf81a35ea477a717 (diff)
downloadivy-csharp-46e881630f39253aa13ce09986a25da9d84f10cd.zip
ivy-csharp-46e881630f39253aa13ce09986a25da9d84f10cd.tar.gz
ivy-csharp-46e881630f39253aa13ce09986a25da9d84f10cd.tar.bz2
ivy-csharp-46e881630f39253aa13ce09986a25da9d84f10cd.tar.xz
Utilisateur : Fcolin Date : 22/12/05 Heure : 17:48 Archivé dans $/CSharp/Ivy/IvyPerf Commentaire: (vss 2)
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r--CSharp/Ivy/IvyPerf/IvyPerf.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/CSharp/Ivy/IvyPerf/IvyPerf.cs b/CSharp/Ivy/IvyPerf/IvyPerf.cs
index 2a23d22..82fd010 100644
--- a/CSharp/Ivy/IvyPerf/IvyPerf.cs
+++ b/CSharp/Ivy/IvyPerf/IvyPerf.cs
@@ -21,15 +21,15 @@ namespace IvyPerf
//time = Environment.TickCount;
return time;
}
- static void Reply(IvyClient client, IvyArgument args)
+ static void Reply(IvyClient client, string[] args)
{
bus.sendMsg(c,"pong ts={0} tr={1}", args, currentTime());
}
- static void Pong(IvyClient client, IvyArgument args)
+ static void Pong(IvyClient client, string[] args)
{
double current = currentTime();
- double ts = double.Parse( args[0].Value, c );
- double tr = double.Parse(args[1].Value, c);
+ double ts = double.Parse( args[0], c );
+ double tr = double.Parse(args[1], c);
double roundtrip1 = tr-ts;
double roundtrip2 = current - ts;
Console.WriteLine( "round trip {0} {1}", roundtrip1 , roundtrip2 );