Changeset 5870 for source/ariba/overlay/modules/chord/Chord.h
- Timestamp:
- Aug 11, 2009, 4:11:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/Chord.h
r5803 r5870 51 51 namespace overlay { 52 52 53 class OverlayMsg; 54 53 55 using ariba::communication::EndpointDescriptor; 54 56 using ariba::utility::Timer; … … 82 84 // helper: sets up a link using the "base overlay" 83 85 LinkID setup( const EndpointDescriptor& endp, 84 const NodeID& node = NodeID::UNSPECIFIED, 85 const NodeID& remoteRelay = NodeID::UNSPECIFIED ); 86 const NodeID& node = NodeID::UNSPECIFIED ); 86 87 87 88 // helper: sends a message using the "base overlay" 88 seqnum_t send( Message* msg, const LinkID& link );89 seqnum_t send( OverlayMsg* msg, const LinkID& link ); 89 90 90 91 // stabilization: sends a discovery message to the specified neighborhood … … 92 93 93 94 void discover_neighbors( const LinkID& lnk ); 95 96 void showLinks(); 94 97 95 98 public: … … 119 122 120 123 /// @see OverlayInterface.h 121 virtual void routeMessage( const NodeID& destnode, Message* msg );122 123 /// @see OverlayInterface.h124 virtual void routeMessage(const NodeID& node, const LinkID& link, Message* msg);125 126 /// @see OverlayInterface.h127 124 virtual NodeList getKnownNodes(bool deep = true) const; 128 125 … … 137 134 const LinkID& lnk = LinkID::UNSPECIFIED); 138 135 139 140 141 136 /// @see Timer.h 142 137 virtual void eventFunction(); 138 143 139 }; 144 140
Note:
See TracChangeset
for help on using the changeset viewer.