Changeset 4762 for sample/pingpong


Ignore:
Timestamp:
Jul 6, 2009, 3:43:11 PM (15 years ago)
Author:
Christoph Mayer
Message:

avahi optional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sample/pingpong/main.cpp

    r4733 r4762  
    77using ariba::application::pingpong::PingPong;
    88
     9#include "ariba/utility/bootstrap/BootstrapManager.h"
     10using ariba::utility::BootstrapManager;
     11
    912int 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
    1024
    1125        // get config file
     
    2741        return 0;
    2842}
    29 
    30 /* Chris's debugging stuff
    31 
    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.