- Timestamp:
- Jun 29, 2009, 4:49:46 PM (15 years ago)
- Location:
- source/ariba
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/EndpointDescriptor.h
r3705 r4618 100 100 101 101 sznBeginDefault( ariba::communication::EndpointDescriptor, X ) { 102 uint 8_t unspec = isUnspec;102 uint16_t unspec = isUnspec; //TODO: was uint8_t 103 103 104 104 X && unspec && VO(locator); -
source/ariba/communication/messages/AribaBaseMsg.h
r4617 r4618 85 85 86 86 private: 87 uint 8_t state; // the link message type87 uint16_t state; // the link message type //TODO: was uint8_t 88 88 LinkID localLink; // the local link id 89 89 LinkID remoteLink; // the remote link id … … 94 94 95 95 sznBeginDefault( ariba::communication::AribaBaseMsg, X ) { 96 uint8_t x = 0xff; 97 X && state && x && &localLink && &remoteLink && Payload(); 96 X && state && &localLink && &remoteLink && Payload(); 98 97 } sznEnd(); 99 98 -
source/ariba/communication/modules/transport/tcp/TCPTransport.cpp
r4598 r4618 203 203 // converting message 204 204 logging_debug( "converting message" ); 205 206 207 std::cout << "XXXXXXXXXXXXreceived data on tcp transport: " << data << std::endl; 208 209 205 //std::cout << "XXXXXXXXXXXXreceived data on tcp transport: " << data << std::endl; 210 206 Message* msg = new Message(data); 207 211 208 std::ostringstream o; 212 209 o << (peer->get_ip_str() + 7) << ":" << remotePort; … … 243 240 244 241 Data data = data_serialize( message ); 245 246 247 std::cout << "XXXXXXXXXXXXXsending out data using tcp transport: " << data << std::endl; 248 249 250 242 //std::cout << "XXXXXXXXXXXXXsending out data using tcp transport: " << data << std::endl; 251 243 252 244 const_cast<Message*>(message)->dropPayload(); -
source/ariba/overlay/messages/LinkRequest.h
r3690 r4618 24 24 private: 25 25 bool free_endpoint_; 26 uint 8_t flags;26 uint16_t flags; //TODO: was uint8_t 27 27 uint32_t nonce; 28 28 const EndpointDescriptor* endpoint; -
source/ariba/overlay/messages/OverlayMsg.h
r3690 r4618 90 90 91 91 private: 92 uint 8_t type;92 uint16_t type; //TODO: was uint8_t 93 93 ServiceID service; 94 94 NodeID sourceNode; -
source/ariba/overlay/modules/chord/messages/ChordMessage.h
r3690 r4618 97 97 98 98 private: 99 uint 8_t type;100 uint 8_t hop_count;99 uint16_t type; //TODO: was uint8_t 100 uint16_t hop_count; //TODO: was uint8_t 101 101 NodeID source, destination; 102 102 }; -
source/ariba/overlay/modules/chord/messages/Discovery.h
r3690 r4618 108 108 109 109 private: 110 uint 8_t follow_type;111 uint 8_t ttl;110 uint16_t follow_type; //TODO: was uint8_t 111 uint16_t ttl; //TODO: was uint8_t 112 112 EndpointDescriptor* source_endpoint; 113 113 // NodeEndpointList descriptors; -
source/ariba/overlay/modules/onehop/messages/OneHopMessage.h
r3705 r4618 68 68 69 69 private: 70 uint 8_t type;70 uint16_t type; // TODO: was uint8_t 71 71 }; 72 72 -
source/ariba/utility/types/Identifier.h
r4614 r4618 569 569 /* serializers */ 570 570 sznBeginDefault( ariba::utility::Identifier, X ) { 571 571 572 // calculate length of key 572 573 uint16_t len = array_size*sizeof(mp_limb_t); 573 uint 8_t unspec = isUnspec;574 uint16_t unspec = isUnspec; //TODO: was uint8_t 574 575 575 576 // only serialize the lower 16 bits of keyLength 576 577 X && unspec && len; 577 578 578 /*579 if (X.isDeserializer()){580 if(len != array_size*sizeof(mp_limb_t)){581 std::cout << "len: " << len << ", array_size: "582 << array_size << ", sizeof(mp_limb_t): " << sizeof(mp_limb_t) << std::endl;583 assert(false);584 }585 }586 */587 588 579 // serialize the identifier 589 580 for (int i=array_size-1; i>=0; i--) X && key[i]; 590 581 591 // when deserializing reset unspec flag582 // when deserializing set unspec flag 592 583 if (X.isDeserializer()){ 593 //isUnspec = unspec; 594 isUnspec = false; 595 //std::cout << "isUnspec: " << (isUnspec ? "true" : "false") << " " << "unspec: " << (int)unspec << std::endl; 584 isUnspec = unspec; 596 585 } 597 586 -
source/ariba/utility/types/OverlayParameterSet.h
r3718 r4618 64 64 65 65 private: 66 uint 8_t structure;66 uint16_t structure; //TODO: was uint8_t 67 67 68 68 };
Note:
See TracChangeset
for help on using the changeset viewer.