Changeset 6796 for source/ariba/overlay/messages/DHTMessage.h
- Timestamp:
- Nov 2, 2009, 10:39:21 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/messages/DHTMessage.h
r6786 r6796 62 62 X && ttl; 63 63 64 // std::cout << "1" << std::endl;65 66 64 // key serialization 67 65 uint16_t key_length = key.isUnspecified() ? 0 : key.getLength(); 68 66 X && key_length; 69 67 if (X.isDeserializer()) key.setLength( key_length ); 70 71 // std::cout << "2 - " << key_length << std::endl;72 68 X && this->key; 73 // std::cout << "2b" << std::endl;74 69 75 70 // store number of values … … 77 72 X && num_values; 78 73 79 // std::cout << "3" << std::endl;80 81 74 // value serialization 82 75 for (size_t i=0; i<num_values; i++) { 83 // std::cout << "4" << std::endl;84 76 Data value; 85 77 if (X.isSerializer()) value = values[i]; 86 78 uint16_t value_length = value.isUnspecified() ? 0 : value.getLength(); 87 79 X && value_length; 88 // std::cout << "5" << std::endl;89 80 if (X.isDeserializer()) value.setLength( value_length ); 90 81 X && value; 91 // std::cout << "6" << std::endl;92 82 if (X.isDeserializer()) values.push_back(value); 93 83 }
Note:
See TracChangeset
for help on using the changeset viewer.