Changeset 4888 for sample/pingpong
- Timestamp:
- Jul 14, 2009, 8:41:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/pingpong/main.cpp
r4866 r4888 7 7 using ariba::application::pingpong::PingPong; 8 8 9 10 11 12 13 14 #include "ariba/utility/bootstrap/BootstrapManager.h"15 using ariba::utility::BootstrapManager;16 17 void debug(){18 StartupWrapper::startSystem();19 BootstrapManager& manager = BootstrapManager::instance();20 manager.registerModule(BootstrapManager::BootstrapTypePeriodicBroadcast);21 manager.publish("testname", "testinfo1", "testinfo2", "testinfo3");22 23 getchar();24 25 manager.revoke("testname");26 manager.unregisterModule(BootstrapManager::BootstrapTypePeriodicBroadcast);27 StartupWrapper::stopSystem();28 }29 30 31 32 33 34 9 int main( int argc, char** argv ) { 35 36 debug();37 return 0;38 39 40 10 41 11 // get config file
Note:
See TracChangeset
for help on using the changeset viewer.