Changeset 2413
- Timestamp:
- Feb 13, 2009, 4:33:52 PM (16 years ago)
- Files:
-
- 5 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; -
source/ariba/Makefile.am
r2409 r2413 363 363 # make install stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 364 364 365 libariba_ladir = ${pkgincludedir}366 367 # interfaces headers for make install - don't368 # remove the here listed .h files from _SOURCES!369 libariba_la_HEADERS = \370 tidy/ariba.h \371 tidy/AribaModule.h \372 tidy/DataMessage.h \373 tidy/Identifiers.h \374 tidy/LinkProperties.h \375 tidy/Module.h \376 tidy/Name.h \377 tidy/Node.h \378 tidy/NodeListener.h \379 tidy/SpoVNetProperties.h \380 tidy/TidyCommunicationListener.h \381 tidy/TidyMessage.h365 # libariba_ladir = ${pkgincludedir} 366 # 367 # #interfaces headers for make install - don't 368 # #remove the here listed .h files from _SOURCES! 369 # libariba_la_HEADERS = \ 370 # tidy/ariba.h \ 371 # tidy/AribaModule.h \ 372 # tidy/DataMessage.h \ 373 # tidy/Identifiers.h \ 374 # tidy/LinkProperties.h \ 375 # tidy/Module.h \ 376 # tidy/Name.h \ 377 # tidy/Node.h \ 378 # tidy/NodeListener.h \ 379 # tidy/SpoVNetProperties.h \ 380 # tidy/TidyCommunicationListener.h \ 381 # tidy/TidyMessage.h 382 382 383 383 # old make install stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 387 387 # header files to install - TODO: extract all *.h and *.hpp files ~~~~ 388 388 389 #libariba_ladir = ${pkgincludedir}390 391 #install-data-local:392 #@for f in $(libariba_la_SOURCES); do \393 #d=`echo $$f | sed -e 's,/[^/]*$$,,'`; \394 #$(mkinstalldirs) $(DESTDIR)$(libariba_ladir)/$$d; \395 #if test -f $(srcdir)/$$f; then p=$(srcdir)/$$f; else p=$$f; fi; \396 #$(INSTALL_DATA) $$p $(DESTDIR)$(libariba_ladir)/$$f; \397 #done398 # 399 #uninstall-local:400 #rm -rf $(DESTDIR)$(libariba_ladir)389 libariba_ladir = ${pkgincludedir} 390 391 install-data-local: 392 @for f in $(libariba_la_SOURCES); do \ 393 d=`echo $$f | sed -e 's,/[^/]*$$,,'`; \ 394 $(mkinstalldirs) $(DESTDIR)$(libariba_ladir)/$$d; \ 395 if test -f $(srcdir)/$$f; then p=$(srcdir)/$$f; else p=$$f; fi; \ 396 $(INSTALL_DATA) $$p $(DESTDIR)$(libariba_ladir)/$$f; \ 397 done 398 399 uninstall-local: 400 rm -rf $(DESTDIR)$(libariba_ladir)
Note:
See TracChangeset
for help on using the changeset viewer.