Changeset 4851 for source/ariba/utility
- Timestamp:
- Jul 10, 2009, 11:56:14 AM (15 years ago)
- Location:
- source/ariba/utility/bootstrap/modules/periodicbroadcast
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.