Changeset 4582 for source/ariba/communication/BaseCommunication.cpp
- Timestamp:
- Jun 29, 2009, 11:10:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/BaseCommunication.cpp
r4438 r4582 188 188 189 189 // create link identifier and link descriptor 190 if (linkid.isUnspecified()) linkid = LinkID::create(); 190 if (linkid.isUnspecified()){ 191 linkid = LinkID::create(); 192 assert(!linkid.isUnspecified()); 193 } 194 191 195 logging_debug( "creating new local descriptor entry with local link id " << linkid.toString() ); 192 196 LinkDescriptor linkDescriptor( linkid, local, LinkID::UNSPECIFIED, remote, descriptor, false ); … … 199 203 200 204 logging_debug( "sending out base messages with request to open link to " << remote->toString() ); 201 AribaBaseMsg baseMsg( remote, AribaBaseMsg::LINK_STATE_OPEN_REQUEST, linkid, 202 LinkID::UNSPECIFIED ); 205 AribaBaseMsg baseMsg( 206 remote, 207 AribaBaseMsg::LINK_STATE_OPEN_REQUEST, 208 linkid, 209 LinkID::UNSPECIFIED ); 210 203 211 transport->sendMessage(&baseMsg); 204 205 212 return linkid; 206 213 } … … 360 367 LinkID remoteLink = spovmsg->getLocalLink(); 361 368 369 if(localLink.isUnspecified()){ 370 logging_error("local link is unspecified"); 371 return false; 372 } 373 374 if(remoteLink.isUnspecified()){ 375 logging_error("remote link is unspecified"); 376 return false; 377 } 362 378 363 379 const NetworkLocator* localLocator = dynamic_cast<const NetworkLocator*>(localDescriptor.locator);
Note:
See TracChangeset
for help on using the changeset viewer.