Changeset 3693 for source/ariba/overlay/modules/chord
- Timestamp:
- May 26, 2009, 9:35:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/Chord.cpp
r3690 r3693 70 70 } 71 71 72 // helper: sets up a link using the base overlay72 /// helper: sets up a link using the base overlay 73 73 LinkID Chord::setup(const EndpointDescriptor& endp) { 74 74 … … 78 78 } 79 79 80 // helper: sends a message using the "base overlay"80 /// helper: sends a message using the "base overlay" 81 81 seqnum_t Chord::send(Message* msg, const LinkID& link) { 82 if (link.isUnspecified()) return 0; 82 83 return baseoverlay.sendMessage(msg, link); 83 84 } 84 85 86 /// sends a discovery message 85 87 void Chord::send_discovery_to(const NodeID& destination, int ttl) { 86 88 logging_debug("Initiating discovery of " << destination.toString() ); … … 192 194 M* m = msg.getMessage()->convert<ChordMessage> (); 193 195 if (m == NULL) return; 194 195 logging_debug("onMessage: type=" << (int)m->getType() );196 196 197 197 // handle messages
Note:
See TracChangeset
for help on using the changeset viewer.