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