Changeset 3690 for source/ariba/overlay/modules/onehop/messages
- Timestamp:
- May 26, 2009, 1:40:23 AM (16 years ago)
- Location:
- source/ariba/overlay/modules/onehop/messages
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/onehop/messages/NodeListingReply.cpp
r3689 r3690 1 // [Licen ce]1 // [License] 2 2 // The Ariba-Underlay Copyright 3 3 // … … 35 35 // official policies, either expressed or implied, of the Institute of 36 36 // Telematics. 37 // [Licen ce]37 // [License] 38 38 39 39 #include "NodeListingReply.h" -
source/ariba/overlay/modules/onehop/messages/NodeListingReply.h
r3689 r3690 1 // [Licen ce]1 // [License] 2 2 // The Ariba-Underlay Copyright 3 3 // … … 35 35 // official policies, either expressed or implied, of the Institute of 36 36 // Telematics. 37 // [Licen ce]37 // [License] 38 38 39 39 #ifndef NODE_LISTING_REPLY_H__ … … 77 77 78 78 sznBeginDefault( ariba::overlay::NodeListingReply, X ) { 79 uint16_t len = X.isSerializer() ? descriptors.size() : 0;79 uint16_t len = descriptors.size(); 80 80 X && len; 81 if (X.isDeserializer()) { 82 descriptors.resize(len); 83 } 84 for (int i=0; i<len; i++) { 85 if (X.isDeserializer()) descriptors[i].second = new EndpointDescriptor(); 86 X && &descriptors[i].first && reinterpret_cast<VSerializeable*>(descriptors[i].second); 87 } 81 if (X.isDeserializer()) descriptors.resize(len); 82 for (int i=0; i<len; i++) 83 X && &descriptors[i].first && VO(descriptors[i].second); 88 84 } sznEnd(); 89 85 -
source/ariba/overlay/modules/onehop/messages/NodeListingRequest.cpp
r3689 r3690 1 // [Licen ce]1 // [License] 2 2 // The Ariba-Underlay Copyright 3 3 // … … 35 35 // official policies, either expressed or implied, of the Institute of 36 36 // Telematics. 37 // [Licen ce]37 // [License] 38 38 39 39 #include "NodeListingRequest.h" -
source/ariba/overlay/modules/onehop/messages/NodeListingRequest.h
r3689 r3690 1 // [Licen ce]1 // [License] 2 2 // The Ariba-Underlay Copyright 3 3 // … … 35 35 // official policies, either expressed or implied, of the Institute of 36 36 // Telematics. 37 // [Licen ce]37 // [License] 38 38 39 39 #ifndef NODE_LISTING_REQUEST_H__ -
source/ariba/overlay/modules/onehop/messages/OneHopMessage.cpp
r3689 r3690 1 // [Licen ce]1 // [License] 2 2 // The Ariba-Underlay Copyright 3 3 // … … 35 35 // official policies, either expressed or implied, of the Institute of 36 36 // Telematics. 37 // [Licen ce]37 // [License] 38 38 39 39 #include "OneHopMessage.h" -
source/ariba/overlay/modules/onehop/messages/OneHopMessage.h
r3689 r3690 1 // [Licen ce]1 // [License] 2 2 // The Ariba-Underlay Copyright 3 3 // … … 35 35 // official policies, either expressed or implied, of the Institute of 36 36 // Telematics. 37 // [Licen ce]37 // [License] 38 38 39 39 #ifndef __ONE_HOP_MESSAGE_H … … 57 57 OneHopMessageTypeListingRequest = 1, 58 58 OneHopMessageTypeListingReply = 2, 59 OneHopMessageTypeRoute = 3, 59 60 } OneHopMessageType; 60 61
Note:
See TracChangeset
for help on using the changeset viewer.