Changeset 5628 for source/ariba/overlay/modules/chord/messages
- Timestamp:
- Aug 3, 2009, 4:43:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/messages/Discovery.h
r4625 r5628 74 74 explicit Discovery(); 75 75 virtual ~Discovery(); 76 /*77 typedef pair<NodeID,EndpointDescriptor*> NodeEndpoint;78 typedef vector<NodeEndpoint> NodeEndpointList;79 80 void add(const NodeID& node, EndpointDescriptor* endp);81 82 const NodeEndpointList& getList();83 */84 76 85 77 EndpointDescriptor* getSourceEndpoint() const { … … 111 103 uint8_t ttl; 112 104 EndpointDescriptor* source_endpoint; 113 // NodeEndpointList descriptors;114 105 }; 115 106 … … 117 108 118 109 sznBeginDefault( ariba::overlay::Discovery, X ) { 119 120 110 /// serialize follow-type and time-to-live 121 111 X && follow_type && ttl; … … 123 113 // serialize end-point 124 114 X && VO(source_endpoint); 125 /*126 // serialize length of descriptor list127 uint16_t len = descriptors.size();128 X && len;129 if (X.isDeserializer()) descriptors.resize(len);130 131 // serialize descriptors132 for (int i=0; i<len; i++)133 X && &descriptors[i].first && VO(descriptors[i].second);134 135 // serialize payload136 X && Payload();137 */138 115 } sznEnd(); 139 116
Note:
See TracChangeset
for help on using the changeset viewer.