- Timestamp:
- Jul 10, 2009, 11:56:14 AM (15 years ago)
- Location:
- source/ariba
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/Makefile.am
r4850 r4851 336 336 utility/bootstrap/modules/multicastdns/MulticastDns.cpp \ 337 337 utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp \ 338 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.cpp 338 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.cpp \ 339 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcastMessage.cpp 339 340 340 341 nobase_libariba_la_HEADERS += \ … … 344 345 utility/bootstrap/modules/multicastdns/MulticastDns.h \ 345 346 utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.h \ 346 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h 347 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h \ 348 utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcastMessage.h 347 349 348 350 #------------> utility :: configuration -
source/ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.cpp
r4850 r4851 53 53 54 54 #include "PeriodicBroadcast.h" 55 #include "PeriodicBroadcastMessage.h" 55 56 56 57 namespace ariba { … … 115 116 116 117 void PeriodicBroadcast::sendLocalServices(){ 118 boost::mutex::scoped_lock lock( localServicesMutex ); 117 119 120 ServiceList::iterator i = localServices.begin(); 121 ServiceList::iterator iend = localServices.end(); 122 123 for( ; i != iend; i++){ 124 125 PeriodicBroadcastMessage msg( i->second.name, i->second.info1, i->second.info2, i->second.info3 ); 126 Data data = data_serialize( msg, DEFAULT_V ); 127 uint8_t* pnt = data.getBuffer(); 128 size_t len = data.getLength(); 129 130 131 // TODO: ÃŒber socket rauspusten 132 133 } 118 134 } 119 135 -
source/ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h
r4850 r4851 42 42 #include "ariba/config.h" 43 43 44 #include <map> 45 #include <string> 44 46 #include <iostream> 45 #include <string> 46 #include <map> 47 #include <boost/foreach.hpp> 47 48 #include <boost/thread/mutex.hpp> 48 49 #include <boost/thread/thread.hpp>
Note:
See TracChangeset
for help on using the changeset viewer.