Changeset 5316 for source/ariba/overlay/BaseOverlay.h
- Timestamp:
- Jul 24, 2009, 8:53:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.h
r5284 r5316 112 112 using ariba::utility::OvlVis; 113 113 114 #define ovl OvlVis::instance()115 #define ovlId OvlVis::NETWORK_ID_BASE_OVERLAY114 //#define ovl OvlVis::instance() 115 //#define ovlId OvlVis::NETWORK_ID_BASE_OVERLAY 116 116 117 117 namespace ariba { … … 156 156 157 157 /** 158 * Is the BaseOverlay instance started up yet 159 */ 160 bool isStarted(); 161 162 /** 158 163 * Starts a link establishment procedure to the specfied node 159 164 * for the service with id service … … 211 216 * @return A list of overlay neighbors. 212 217 */ 213 vector<NodeID> getOverlayNeighbors( ) const;218 vector<NodeID> getOverlayNeighbors(bool deep = true) const; 214 219 215 220 /** … … 264 269 * @param boot A bootstrap node 265 270 */ 266 void joinSpoVNet(const SpoVNetID& id, const EndpointDescriptor& boot );271 void joinSpoVNet(const SpoVNetID& id, const EndpointDescriptor& boot = EndpointDescriptor::UNSPECIFIED); 267 272 268 273 /** … … 365 370 typedef enum _BaseOverlayState { 366 371 BaseOverlayStateInvalid = 0, 367 BaseOverlayStateInitiator = 1, 368 BaseOverlayStateJoinInitiated = 2, 369 BaseOverlayStateCompleted = 3, 372 BaseOverlayStateCompleted = 1, 370 373 } BaseOverlayState; 371 374 372 BaseOverlayState state; ///< Current Base-Overlay state373 BaseCommunication* bc; ///< reference to the base communication374 NodeID nodeId; ///< the node id of this node375 SpoVNetID spovnetId; ///< the spovnet id of the currently joined overlay376 LinkID initiatorLink; ///< the link id of the link to the initiator node377 NodeID spovnetInitiator; ///< The initiator node375 BaseOverlayState state; ///< Current Base-Overlay state 376 BaseCommunication* bc; ///< reference to the base communication 377 NodeID nodeId; ///< the node id of this node 378 SpoVNetID spovnetId; ///< the spovnet id of the currently joined overlay 379 vector<LinkID> bootstrapLinks; ///< the link id of the link to the initiator node 380 NodeID spovnetInitiator; ///< The initiator node 378 381 379 382 /// the service id communication listeners … … 440 443 */ 441 444 OverlayBootstrap overlayBootstrap; 445 446 /// is the base overlay started yet 447 bool started; 442 448 }; 443 449
Note:
See TracChangeset
for help on using the changeset viewer.