Changeset 3037 for source/ariba/Node.h
- Timestamp:
- Apr 22, 2009, 9:07:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/Node.h
r2473 r3037 45 45 } 46 46 47 #include <vector> 47 48 #include "Module.h" 48 49 #include "Identifiers.h" … … 54 55 #include "DataMessage.h" 55 56 57 using std::vector; 58 56 59 namespace ariba { 57 60 58 61 // forward declaration 59 62 namespace interface { 60 class AribaContext;61 63 class ServiceInterface; 64 } 65 66 namespace overlay { 67 class BaseOverlay; 62 68 } 63 69 … … 66 72 * 67 73 * @author Sebastian Mies <mies@tm.uka.de> 74 * @author Christoph Mayer <mayer@tm.uka.de> 68 75 */ 69 76 class Node: public Module { … … 181 188 */ 182 189 const Name getNodeName(const LinkID& lid = LinkID::UNSPECIFIED) const; 190 191 /** 192 * Get a list of neighboring nodes in the overlay structure. 193 * The number and identities of nodes depends highly on the 194 * used overlay structure. 195 * 196 * @return a list of NodeIDs that are neighbors in the overlay structure 197 * @see sendBroadcastMessage 198 */ 199 vector<NodeID> getNeighborNodes() const; 183 200 184 201 //--- communication --- … … 241 258 * @param msg The message to be send 242 259 * @param sid The id of the service that should receive the message 260 * @see getNeighborNodes 243 261 */ 244 262 void sendBroadcastMessage(const DataMessage& msg, const ServiceID& sid); … … 317 335 318 336 // member variables 319 Name name; //< node name 320 AribaModule& ariba_mod; //< ariba module 321 SpoVNetID spovnetId; //< current spovnet id 322 NodeID nodeId; //< current node id 337 Name name; //< node name 338 AribaModule& ariba_mod; //< ariba module 339 SpoVNetID spovnetId; //< current spovnet id 340 NodeID nodeId; //< current node id 341 overlay::BaseOverlay* base_overlay; //< the base overlay 323 342 324 343 // delegates 325 interface::AribaContext* context;326 344 static ServiceID anonymousService; 327 345 };
Note:
See TracChangeset
for help on using the changeset viewer.