Changeset 7532 for source/ariba/utility/bootstrap/modules
- Timestamp:
- Feb 4, 2010, 5:29:37 PM (15 years ago)
- Location:
- source/ariba/utility/bootstrap/modules
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp
r7043 r7532 72 72 OverlayBootstrap* BluetoothSdp::CONNECTION_CHECKER = NULL; 73 73 74 BluetoothSdp::BluetoothSdp(BootstrapInformationCallback* _callback ) :75 BootstrapModule(_callback), scan_timer_(io_service_) {74 BluetoothSdp::BluetoothSdp(BootstrapInformationCallback* _callback, string info) 75 : BootstrapModule(_callback), scan_timer_(io_service_) { 76 76 srand( time(NULL) ); 77 77 #ifdef HAVE_BLUETOOTH_BLUETOOTH_H … … 80 80 // of the info strings (as an attribute) 81 81 channel_ = 1; 82 83 82 #endif // HAVE_BLUETOOTH_BLUETOOTH_H 84 83 } -
source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.h
r5967 r7532 80 80 static OverlayBootstrap* CONNECTION_CHECKER; 81 81 82 BluetoothSdp(BootstrapInformationCallback* _callback );82 BluetoothSdp(BootstrapInformationCallback* _callback, string info); 83 83 virtual ~BluetoothSdp(); 84 84 -
source/ariba/utility/bootstrap/modules/multicastdns/MulticastDns.cpp
r5284 r7532 46 46 use_logging_cpp(MulticastDns); 47 47 48 MulticastDns::MulticastDns(BootstrapInformationCallback* _callback) : BootstrapModule(_callback) { 48 MulticastDns::MulticastDns(BootstrapInformationCallback* _callback, string info) 49 : BootstrapModule(_callback) { 49 50 #ifdef HAVE_AVAHI_CLIENT_CLIENT_H 50 51 avahiclient = NULL; -
source/ariba/utility/bootstrap/modules/multicastdns/MulticastDns.h
r4836 r7532 71 71 use_logging_h(MulticastDns); 72 72 public: 73 MulticastDns(BootstrapInformationCallback* _callback );73 MulticastDns(BootstrapInformationCallback* _callback, string info); 74 74 virtual ~MulticastDns(); 75 75 -
source/ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.cpp
r5838 r7532 63 63 const unsigned int PeriodicBroadcast::serverport_v6 = 5636; 64 64 65 PeriodicBroadcast::PeriodicBroadcast(BootstrapInformationCallback* _callback )65 PeriodicBroadcast::PeriodicBroadcast(BootstrapInformationCallback* _callback, string info) 66 66 : BootstrapModule(_callback), 67 67 server(io_service, &newRemoteServices, &newRemoteServicesMutex) { … … 108 108 109 109 boost::mutex::scoped_lock lock( localServicesMutex ); 110 if(name.empty()) return; 111 110 112 localServices.insert( std::make_pair(name, service) ); 111 113 } … … 113 115 void PeriodicBroadcast::revokeService(string name){ 114 116 boost::mutex::scoped_lock lock( localServicesMutex ); 117 if(name.empty()) return; 115 118 116 119 ServiceList::iterator i = localServices.find( name ); -
source/ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h
r6919 r7532 66 66 use_logging_h(PeriodicBroadcast); 67 67 public: 68 PeriodicBroadcast(BootstrapInformationCallback* _callback );68 PeriodicBroadcast(BootstrapInformationCallback* _callback, string info); 69 69 virtual ~PeriodicBroadcast(); 70 70 … … 275 275 276 276 PeriodicBroadcastMessage msg; 277 if(service.getName().empty()) return; 277 278 278 279 msg.setName( service.getName() ); … … 351 352 { // insert new found service 352 353 boost::mutex::scoped_lock lock( *servicesmutex ); 354 if(msg.getName().empty()) return; 353 355 354 356 ServiceList::iterator it = services->find( msg.getName() );
Note:
See TracChangeset
for help on using the changeset viewer.