Changeset 5870 for source/ariba/overlay/modules/OverlayInterface.h
- Timestamp:
- Aug 11, 2009, 4:11:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/OverlayInterface.h
r5624 r5870 74 74 * Constructs a new overlay. 75 75 */ 76 OverlayInterface( 77 BaseOverlay& _baseoverlay, 78 const NodeID& _nodeid, 79 OverlayStructureEvents* _eventsReceiver, 80 OverlayParameterSet _parameters 81 ); 76 OverlayInterface( BaseOverlay& _baseoverlay, const NodeID& _nodeid, 77 OverlayStructureEvents* _eventsReceiver, OverlayParameterSet _parameters 78 ); 82 79 83 80 /** … … 103 100 * end-point, if this node is the initiator 104 101 */ 105 virtual void joinOverlay(const EndpointDescriptor& bootstrap = EndpointDescriptor::UNSPECIFIED()) = 0; 102 virtual void joinOverlay( 103 const EndpointDescriptor& bootstrap = EndpointDescriptor::UNSPECIFIED()) = 0; 106 104 107 105 /** … … 117 115 */ 118 116 virtual const EndpointDescriptor& resolveNode(const NodeID& node) = 0; 119 120 /**121 * Routes a message to a given node by using overlay routing.122 *123 * @param destnode The destination node.124 * @param msg The message to be routed.125 */126 virtual void routeMessage(const NodeID& destnode, Message* msg) = 0;127 128 /**129 * Routes a message to a given node by using an existing link.130 *131 * TODO: This is a hack. This method allows the BaseOverlay class to132 * use overlay signaling links to transfer data for relaying133 *134 * @param node The destination node.135 * @param link An established link136 * @param msg The message to be sent.137 */138 virtual void routeMessage(const NodeID& node, const LinkID& link, Message* msg) = 0;139 117 140 118 /** … … 183 161 const LinkID& lnk = LinkID::UNSPECIFIED); 184 162 185 186 163 const OverlayParameterSet& getParameters() const; 187 164
Note:
See TracChangeset
for help on using the changeset viewer.