Changeset 5479 for source


Ignore:
Timestamp:
Jul 30, 2009, 12:57:05 PM (15 years ago)
Author:
Christoph Mayer
Message:
 
Location:
source/ariba
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/SideportListener.cpp

    r5436 r5479  
    141141
    142142        return (Protocol)ret;
    143         //return (SideportListener::Protocol)(ipv4 | tcp);
    144143}
    145144
  • source/ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h

    r5465 r5479  
    181181                void sendservice(Service service){
    182182
    183                         PeriodicBroadcastMessage msg( service.name, service.info1, service.info2, service.info3 );
     183                        PeriodicBroadcastMessage msg;
     184
     185                        msg.setName( service.name );
     186                        msg.setInfo1( service.info1 );
     187                        msg.setInfo2( service.info2 );
     188                        msg.setInfo3( service.info3 );
     189
    184190                        Data data = data_serialize( msg, DEFAULT_V );
    185191                        uint8_t* pnt = data.getBuffer();
  • source/ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcastMessage.cpp

    r4851 r5479  
    4444vsznDefault(PeriodicBroadcastMessage);
    4545
    46 PeriodicBroadcastMessage::PeriodicBroadcastMessage(
    47                 string _name, string _info1, string _info2, string _info3)
    48 : name(_name), info1(_info1), info2(_info2), info3(_info3){
     46PeriodicBroadcastMessage::PeriodicBroadcastMessage()
     47: name(""), info1(""), info2(""), info3(""){
    4948}
    5049
    5150PeriodicBroadcastMessage::~PeriodicBroadcastMessage(){
     51}
     52
     53void PeriodicBroadcastMessage::setName(string _name){
     54        name = _name;
     55}
     56
     57void PeriodicBroadcastMessage::setInfo1(string _info1){
     58        info1 = _info1;
     59}
     60
     61void PeriodicBroadcastMessage::setInfo2(string _info2){
     62        info2 = _info2;
     63}
     64
     65void PeriodicBroadcastMessage::setInfo3(string _info3){
     66        info3 = _info3;
    5267}
    5368
  • source/ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcastMessage.h

    r4851 r5479  
    6161
    6262public:
    63         PeriodicBroadcastMessage(string _name = "", string _info1 = "", string _info2 = "", string _info3 = "");
     63        PeriodicBroadcastMessage();
    6464        virtual ~PeriodicBroadcastMessage();
     65
     66        void setName(string _name);
     67        void setInfo1(string _info1);
     68        void setInfo2(string _info2);
     69        void setInfo3(string _info3);
    6570
    6671        string getName();
  • source/ariba/utility/system/StartupWrapper.cpp

    r5435 r5479  
    122122                        log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("BluetoothSdp"));
    123123                        logger->setLevel(log4cxx::Level::getDebug());
    124         }*/
     124        }
    125125        {
    126126                        log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger("rfcomm"));
    127127                        logger->setLevel(log4cxx::Level::getAll());
    128128        }
     129         */
    129130
    130131        //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Note: See TracChangeset for help on using the changeset viewer.