Changeset 2452 for source/ariba/AribaModule.h
- Timestamp:
- Feb 18, 2009, 11:39:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/AribaModule.h
r2434 r2452 141 141 class BootstrapNode { 142 142 public: 143 inline BootstrapNode() : timestamp(0), desc(NULL) { 144 145 } 146 inline BootstrapNode(uint32_t timestamp, 147 communication::EndpointDescriptor* desc) : 148 timestamp(timestamp), desc(desc) { 149 150 } 151 ~BootstrapNode(); 143 152 uint32_t timestamp; 144 153 communication::EndpointDescriptor* desc; … … 149 158 public: 150 159 Name spovnetName; 151 vector<BootstrapNode> desc;160 vector<BootstrapNode> nodes; 152 161 }; 153 162 vector<BootstrapInfo> bootstrapNodes; … … 155 164 protected: 156 165 // members 157 string bootstrapFile; 158 bool started; 166 string bootstrapFile; //< file with bootstrap information 167 bool started; //< flag, if module has been started 159 168 160 169 // bootstrap node management 161 void addBootstrapNode(const Name& spovnet, const Name& node,170 void addBootstrapNode(const Name& spovnet, 162 171 communication::EndpointDescriptor* desc); 163 172 const communication::EndpointDescriptor* getBootstrapNode( 164 const Name& spovnet) ;173 const Name& spovnet) const; 165 174 166 175 // TODO: merge with old interface
Note:
See TracChangeset
for help on using the changeset viewer.