An Overlay-based
Virtual Network Substrate
SpoVNet

Changeset 4733


Ignore:
Timestamp:
Jul 4, 2009, 5:13:57 PM (15 years ago)
Author:
Christoph Mayer
Message:

-integrated avahi and a bootstrap manager and stuff (still not working, but compiling)

Files:
11 added
3 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r4552 r4733  
    3434AX_LOG4CXX
    3535AX_OPENSSL
     36AX_AVAHI
    3637
    3738dnl Check for boost
  • sample/pingpong/main.cpp

    r4596 r4733  
    66using ariba::utility::StartupWrapper;
    77using ariba::application::pingpong::PingPong;
    8 
    9 //*************************************************
    10 /*
    11 #include <iostream>
    12 #include <boost/cstdint.hpp>
    13 
    14 using std::cout;
    15 using std::endl;
    16 
    17 void debugging(){
    18 
    19         cout << "int" << " - \t \t" << sizeof(int) << endl;
    20         cout << "unsigned int" << " - \t \t" << sizeof(unsigned int) << endl;
    21         cout << "long" << " - \t \t" << sizeof(long) << endl;
    22         cout << "unsigned long" << " - \t \t" << sizeof(unsigned long) << endl;
    23         cout << "char" << " - \t \t" << sizeof(char) << endl;
    24         cout << "unsigned char" << " - \t \t" << sizeof(unsigned char) << endl;
    25         cout << "short" << " - \t \t" << sizeof(short) << endl;
    26         cout << "unsigned short" << " - \t \t" << sizeof(unsigned short) << endl;
    27         cout << "uint16_t" << " - \t \t" << sizeof(uint16_t) << endl;
    28         cout << "uint8_t" << " - \t \t" << sizeof(uint8_t) << endl;
    29         cout << "uint32_t" << " - \t \t" << sizeof(uint32_t) << endl;
    30         cout << "int8_t" << " - \t \t" << sizeof(int8_t) << endl;
    31         cout << "int16_t" << " - \t \t" << sizeof(int16_t) << endl;
    32         cout << "int32_t" << " - \t \t" << sizeof(int32_t) << endl;
    33         cout << "boost::uint16_t" << " - \t \t" << sizeof(boost::uint16_t) << endl;
    34         cout << "boost::uint8_t" << " - \t \t" << sizeof(boost::uint8_t) << endl;
    35         cout << "boost::uint32_t" << " - \t \t" << sizeof(boost::uint32_t) << endl;
    36         cout << "boost::int8_t" << " - \t \t" << sizeof(boost::int8_t) << endl;
    37         cout << "boost::int16_t" << " - \t \t" << sizeof(boost::int16_t) << endl;
    38         cout << "boost::int32_t" << " - \t \t" << sizeof(boost::int32_t) << endl;
    39 
    40 }
    41 */
    42 //*************************************************
    43 
    448
    459int main( int argc, char** argv ) {
     
    6327        return 0;
    6428}
     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*/
  • source/ariba/Makefile.am

    r4679 r4733  
    327327  utility/serialization.h
    328328
     329#------------> utility :: bootstrap
     330
     331libariba_la_SOURCES += \
     332  utility/bootstrap/BootstrapManager.cpp \
     333  utility/bootstrap/modules/BootstrapModule.cpp \
     334  utility/bootstrap/modules/multicastdns/MulticastDns.cpp
     335 
     336nobase_libariba_la_HEADERS += \
     337  utility/bootstrap/BootstrapManager.h \
     338  utility/bootstrap/BootstrapInformationCallback.h \
     339  utility/bootstrap/modules/BootstrapModule.h \
     340  utility/bootstrap/modules/multicastdns/MulticastDns.h
     341
    329342#------------> utility :: configuration
    330343
Note: See TracChangeset for help on using the changeset viewer.