Changeset 2483 for source/ariba/communication/BaseCommunication.h
- Timestamp:
- Feb 24, 2009, 10:06:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/BaseCommunication.h
r2482 r2483 46 46 #include <vector> 47 47 #include <iostream> 48 #include <deque> 48 49 #include <algorithm> 49 50 #include <boost/foreach.hpp> … … 77 78 using std::map; 78 79 using std::vector; 80 using std::deque; 79 81 using std::pair; 80 82 using std::make_pair; … … 222 224 remoteLink(), 223 225 remoteLocator(NULL), 224 remoteEndpoint(EndpointDescriptor::UNSPECIFIED){ 226 remoteEndpoint(EndpointDescriptor::UNSPECIFIED), 227 linkup(false) { 225 228 } 226 229 227 230 LinkDescriptor(const LinkID& _localLink, const NetworkLocator*& _localLocator, 228 231 const LinkID& _remoteLink, const NetworkLocator*& _remoteLocator, 229 const EndpointDescriptor& _remoteEndpoint ) :232 const EndpointDescriptor& _remoteEndpoint, bool _linkup ) : 230 233 localLink(_localLink), 231 234 localLocator(_localLocator), 232 235 remoteLink(_remoteLink), 233 236 remoteLocator(_remoteLocator), 234 remoteEndpoint(_remoteEndpoint){ 237 remoteEndpoint(_remoteEndpoint), 238 linkup(_linkup) { 235 239 } 236 240 … … 240 244 remoteLink(desc.remoteLink), 241 245 remoteLocator(desc.remoteLocator), 242 remoteEndpoint(desc.remoteEndpoint){ 246 remoteEndpoint(desc.remoteEndpoint), 247 linkup(desc.linkup) { 248 249 BOOST_FOREACH( Message* msg, desc.waitingmsg ){ 250 waitingmsg.push_back( msg ); 251 } 243 252 } 244 253 … … 252 261 const NetworkLocator* remoteLocator; 253 262 EndpointDescriptor remoteEndpoint; 263 264 bool linkup; 265 deque<Message*> waitingmsg; 254 266 }; 255 267
Note:
See TracChangeset
for help on using the changeset viewer.