Changeset 4850 for source/ariba/utility/bootstrap/BootstrapManager.cpp
- Timestamp:
- Jul 10, 2009, 11:26:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/BootstrapManager.cpp
r4836 r4850 40 40 #include "BootstrapManager.h" 41 41 #include "ariba/utility/bootstrap/modules/multicastdns/MulticastDns.h" 42 #include "ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.h" 42 43 43 44 namespace ariba { … … 65 66 66 67 switch(type){ 67 case BootstrapTypeMulticastDns: 68 module = new MulticastDns(this); 69 break; 68 case BootstrapTypeMulticastDns: 69 module = new MulticastDns(this); 70 break; 71 case BootstrapTypePeriodicBroadcast: 72 module = new PeriodicBroadcast(this); 73 break; 70 74 } 71 75 … … 113 117 RegistrationResult resone = RegistrationSucceeded; 114 118 resone = registerModule(BootstrapTypeMulticastDns); 119 120 if(resone != RegistrationSucceeded) 121 result = resone; 122 } 123 124 { // periodic broadcast 125 RegistrationResult resone = RegistrationSucceeded; 126 resone = registerModule(BootstrapTypePeriodicBroadcast); 127 115 128 if(resone != RegistrationSucceeded) 116 129 result = resone; … … 126 139 BootstrapManager::RegistrationResult BootstrapManager::unregisterAllModules(){ 127 140 unregisterModule(BootstrapTypeMulticastDns); 141 unregisterModule(BootstrapTypePeriodicBroadcast); 128 142 /* todo ... */ 129 143
Note:
See TracChangeset
for help on using the changeset viewer.