Changeset 4866 for sample/pingpong
- Timestamp:
- Jul 13, 2009, 9:42:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/pingpong/main.cpp
r4837 r4866 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 9 34 int main( int argc, char** argv ) { 35 36 debug(); 37 return 0; 38 39 10 40 11 41 // get config file
Note:
See TracChangeset
for help on using the changeset viewer.