Changeset 7535 for source/ariba/AribaModule.h
- Timestamp:
- Feb 5, 2010, 9:08:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/AribaModule.h
r7532 r7535 157 157 private: 158 158 159 // bootstrap mechanisms 159 /** 160 * Available bootstrap mechanisms 161 */ 160 162 enum BootstrapMechanism { 161 163 BootstrapMechanismInvalid = 0, … … 167 169 static const string BootstrapMechanismNames[5]; 168 170 169 // bootstrap node 171 /** 172 * bootstrap node information 173 */ 170 174 class BootstrapNode { 171 175 public: … … 189 193 }; 190 194 191 // bootstrap info 195 /* 196 * bootstrap info, all bootstrap nodes 197 * for a specific spovnet 198 */ 192 199 class BootstrapInfo { 193 200 public: … … 203 210 vector<BootstrapNode> nodes; 204 211 }; 205 vector<BootstrapInfo> bootstrapNodes; 212 213 vector<BootstrapInfo> bootstrapNodes; //< all available bootstrap information 206 214 207 215 protected: … … 210 218 bool started; //< flag, if module has been started 211 219 212 // bootstrap node management 220 /** 221 * bootstrap node management 222 * add a bootstrap node 223 */ 213 224 void addBootstrapNode( 214 225 const Name& spovnet, … … 217 228 const BootstrapMechanism& mechanism 218 229 ); 230 231 /** 232 * bootstrap node management 233 * add a bootstrap node 234 */ 219 235 void addBootstrapNode( 220 236 const Name& spovnet, … … 222 238 ); 223 239 240 /** 241 * bootstrap node management 242 * get all available bootstrap mechanisms 243 * where bootstrap nodes are available for 244 */ 224 245 vector<AribaModule::BootstrapMechanism> getBootstrapMechanisms( 225 246 const Name& spovnet 226 247 ) const; 227 248 249 /** 250 * get a endpoint descriptor for a spovnet 251 * using a specific bootstrap mechanisms. 252 * will currently only work with static 253 */ 228 254 const communication::EndpointDescriptor* getBootstrapNode( 229 255 const Name& spovnet, … … 231 257 ) const; 232 258 259 /** 260 * get the info field associated for a given 261 * spovnet through a given mechanism 262 */ 233 263 string getBootstrapInfo( 234 264 const Name& spovnet, … … 236 266 ) const; 237 267 238 communication::BaseCommunication* base_comm; 239 SideportListener* sideport_sniffer; 268 communication::BaseCommunication* base_comm; //< the base communication 269 SideportListener* sideport_sniffer; //< the sideport listener 240 270 }; 241 271
Note:
See TracChangeset
for help on using the changeset viewer.