Changeset 4762 for sample/pingpong
- Timestamp:
- Jul 6, 2009, 3:43:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/pingpong/main.cpp
r4733 r4762 7 7 using ariba::application::pingpong::PingPong; 8 8 9 #include "ariba/utility/bootstrap/BootstrapManager.h" 10 using ariba::utility::BootstrapManager; 11 9 12 int main( int argc, char** argv ) { 13 14 15 StartupWrapper::startSystem(); 16 BootstrapManager::instance().registerModule( 17 BootstrapManager::BootstrapTypeMulticastDns); 18 BootstrapManager::instance().publish("testname", "testinfo"); 19 getchar(); 20 StartupWrapper::stopSystem(); 21 return 0; 22 23 10 24 11 25 // get config file … … 27 41 return 0; 28 42 } 29 30 /* Chris's debugging stuff31 32 #include "ariba/utility/bootstrap/BootstrapManager.h"33 using ariba::utility::BootstrapManager;34 35 StartupWrapper::startSystem();36 BootstrapManager::instance().registerModule(37 BootstrapManager::BootstrapTypeMulticastDns);38 BootstrapManager::instance().publish("testname", "testinfo");39 getchar();40 return 0;41 */
Note:
See TracChangeset
for help on using the changeset viewer.