Changeset 5284 for source/ariba/utility


Ignore:
Timestamp:
Jul 24, 2009, 3:23:11 PM (15 years ago)
Author:
mies
Message:

+ added new transport modules and adapted ariba to them
+ exchange endpoint descriptors an link establishment
+ clean up of base communication
+ link establishment with in the presence of multiple endpoints
+ local discovery for ipv6, ipv4 and bluetooth mac addresses

Location:
source/ariba/utility
Files:
88 added
3 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/bootstrap/modules/multicastdns/MulticastDns.cpp

    r4850 r5284  
     1
    12// [License]
    23// The Ariba-Underlay Copyright
  • source/ariba/utility/serialization/DataStream.hpp

    r4619 r5284  
    4444#include <boost/type_traits/make_unsigned.hpp>
    4545
     46#include <cassert>
    4647#include <iostream>
    4748#include <vector>
     
    331332                bits.setLength(index);
    332333                return bits;
     334        }
     335
     336        finline uint8_t* bytes( size_t length ) {
     337                assert((index%bits.word_width)==0);
     338                if (!isMeasure()) {
     339                        bits.ensureLength( index + length * 8);
     340                        uint8_t* buffer = (uint8_t*)bits.getBuffer()+(index/bits.word_width);
     341                        index += length*8;
     342                        return buffer;
     343                } else {
     344                        index += length*8;
     345                        return NULL;
     346                }
    333347        }
    334348
  • source/ariba/utility/system/StartupWrapper.cpp

    r5151 r5284  
    9898        {
    9999                log4cxx::LoggerPtr logger(log4cxx::Logger::getRootLogger());
    100                 logger->setLevel(log4cxx::Level::getDebug());
     100                logger->setLevel(log4cxx::Level::getError());
    101101        }
    102102
    103103        // set up again an individual level if you like
    104104        {
    105 //              log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("PingPong"));
    106 //              logger->setLevel(log4cxx::Level::getDebug());
     105                log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("PingPong"));
     106                logger->setLevel(log4cxx::Level::getDebug());
    107107        }
    108108        {
    109 //              log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("BaseCommunication"));
    110 //              logger->setLevel(log4cxx::Level::getDebug());
     109                log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("BaseCommunication"));
     110                logger->setLevel(log4cxx::Level::getInfo());
    111111        }
    112112
Note: See TracChangeset for help on using the changeset viewer.