Changeset 2413 for sample/pingpong
- Timestamp:
- Feb 13, 2009, 4:33:52 PM (16 years ago)
- Location:
- sample/pingpong
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/pingpong/PingPong.cpp
r2410 r2413 121 121 // timer event 122 122 void PingPong::eventFunction() { 123 124 logging_info("pinging our remote nodes");125 // RemoteNodes::iterator i = remoteNodes.begin();126 // RemoteNodes::iterator iend = remoteNodes.end();127 //128 // pingid++;129 //130 // for (; i != iend; i++) {131 // logging_info(" -> pinging " << i->first);132 //133 // PingPongMessage pingmsg(pingid);134 // overlay->sendMessage(&pingmsg, i->second);135 // }136 123 } 137 124 -
sample/pingpong/PingPong.h
r2410 r2413 63 63 // the current ping id 64 64 unsigned long pingId; 65 66 // // the known remote nodes67 // typedef map<NodeID, LinkID> RemoteNodes;68 // RemoteNodes remoteNodes;69 65 }; 70 66 -
sample/pingpong/PingPongMessage.h
r2410 r2413 1 1 #ifndef PINGPONGMESSAGES_H_ 2 2 #define PINGPONGMESSAGES_H_ 3 4 // #include "ariba/utility/messages.h"5 // #include "ariba/utility/serialization.h"6 // #include "ariba/utility/misc/Helper.h"7 // using ariba::utility::Message;8 3 9 4 #include <string> -
sample/pingpong/main.cpp
r2412 r2413 1 1 #include <string> 2 2 #include "ariba/utility/system/StartupWrapper.h" 3 #include " TidyPingPong.h"3 #include "PingPong.h" 4 4 5 5 using std::string;
Note:
See TracChangeset
for help on using the changeset viewer.