diff options
author | fcolin | 2007-02-01 13:00:35 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:00:35 +0000 |
commit | 27cc7f3435b1561d686aa214c5083aa2a41b39f1 (patch) | |
tree | f0106a292e1ad4c8de14f244cc6b4670bb4151ba /Ivy | |
parent | c7734bf97cb2c4df14edd238257b95a6136c614a (diff) | |
download | ivy-cplusplus-27cc7f3435b1561d686aa214c5083aa2a41b39f1.zip ivy-cplusplus-27cc7f3435b1561d686aa214c5083aa2a41b39f1.tar.gz ivy-cplusplus-27cc7f3435b1561d686aa214c5083aa2a41b39f1.tar.bz2 ivy-cplusplus-27cc7f3435b1561d686aa214c5083aa2a41b39f1.tar.xz |
Utilisateur : Fcolin Date : 1/08/06 Heure : 9:48 Archivé dans $/Bus/Ivy Commentaire: (vss 34)
Diffstat (limited to 'Ivy')
-rw-r--r-- | Ivy/IvyApplication.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Ivy/IvyApplication.cxx b/Ivy/IvyApplication.cxx index bad4910..07f37be 100644 --- a/Ivy/IvyApplication.cxx +++ b/Ivy/IvyApplication.cxx @@ -253,6 +253,19 @@ void IvyApplication::OnReceive(char * line) exit(-1);
}
break;
+ case Ping:
+#ifdef IVY_DEBUG
+ TRACE("Ping Message\n");
+#endif //IVY_DEBUG
+ this->SendMsg( Pong, 0, "beurk" );
+ break;
+
+ case Pong:
+#ifdef IVY_DEBUG
+ TRACE("Pong Message\n");
+#endif //IVY_DEBUG
+ TRACE("Receive unhandled Pong message (ivy-c++ not able to send ping)\n");
+ break;
default:
TRACE("Receive unhandled message %s\n", line);
|