summaryrefslogtreecommitdiff
path: root/Bus/Ivy/IvyApplication.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:00:35 +0000
committerfcolin2007-02-01 13:00:35 +0000
commitd1f22059866d84a0006c64ed7a13619f6a3763ed (patch)
treebb1a514ff0072a3e98b217f8477e6c129a393f83 /Bus/Ivy/IvyApplication.cxx
parenta8a9de0cd272b7e22d67e932ed868db6861888a5 (diff)
downloadivy-cplusplus-d1f22059866d84a0006c64ed7a13619f6a3763ed.zip
ivy-cplusplus-d1f22059866d84a0006c64ed7a13619f6a3763ed.tar.gz
ivy-cplusplus-d1f22059866d84a0006c64ed7a13619f6a3763ed.tar.bz2
ivy-cplusplus-d1f22059866d84a0006c64ed7a13619f6a3763ed.tar.xz
Utilisateur : Fcolin Date : 1/08/06 Heure : 9:48 Archivé dans $/Bus/Ivy Commentaire: (vss 34)
Diffstat (limited to 'Bus/Ivy/IvyApplication.cxx')
-rw-r--r--Bus/Ivy/IvyApplication.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/Bus/Ivy/IvyApplication.cxx b/Bus/Ivy/IvyApplication.cxx
index bad4910..07f37be 100644
--- a/Bus/Ivy/IvyApplication.cxx
+++ b/Bus/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);