Ignore:
Timestamp:
Aug 6, 2009, 2:32:48 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/modules/chord/messages/Discovery.h

    r5681 r5743  
    7070                this->follow_type = msg.follow_type;
    7171                this->ttl = msg.ttl;
     72                this->source_relay = msg.source_relay;
    7273                this->source_endpoint = msg.source_endpoint;
    7374        }
     
    99100        }
    100101
     102        inline void setSourceRelay( const NodeID& relay ) {
     103                source_relay = relay;
     104        }
     105
     106        inline const NodeID& getSourceRelay() const {
     107                return source_relay;
     108        }
    101109private:
    102110        uint8_t follow_type;
    103111        uint8_t ttl;
    104112        EndpointDescriptor source_endpoint;
     113        NodeID source_relay;
    105114};
    106115
     
    112121
    113122        // serialize end-point
    114         X && source_endpoint;
     123        X && source_relay && source_endpoint;
    115124} sznEnd();
    116125
Note: See TracChangeset for help on using the changeset viewer.