Changeset 5743 for source/ariba/overlay/modules/chord/messages
- Timestamp:
- Aug 6, 2009, 2:32:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/messages/Discovery.h
r5681 r5743 70 70 this->follow_type = msg.follow_type; 71 71 this->ttl = msg.ttl; 72 this->source_relay = msg.source_relay; 72 73 this->source_endpoint = msg.source_endpoint; 73 74 } … … 99 100 } 100 101 102 inline void setSourceRelay( const NodeID& relay ) { 103 source_relay = relay; 104 } 105 106 inline const NodeID& getSourceRelay() const { 107 return source_relay; 108 } 101 109 private: 102 110 uint8_t follow_type; 103 111 uint8_t ttl; 104 112 EndpointDescriptor source_endpoint; 113 NodeID source_relay; 105 114 }; 106 115 … … 112 121 113 122 // serialize end-point 114 X && source_ endpoint;123 X && source_relay && source_endpoint; 115 124 } sznEnd(); 116 125
Note:
See TracChangeset
for help on using the changeset viewer.