Changeset 6133 for source/ariba
- Timestamp:
- Sep 10, 2009, 2:33:32 PM (15 years ago)
- Location:
- source/ariba
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/BaseCommunication.cpp
r5704 r6133 428 428 ld.remoteLink = msg->getLocalLink(); 429 429 ld.remoteLocator = remote->clone(); 430 ld.remoteEndpoint.getEndpoints().add( 431 msg->getLocalDescriptor().getEndpoints(), 432 endpoint_set::Layer1_4 433 ); 434 435 430 436 localDescriptor.getEndpoints().add( 431 437 msg->getRemoteDescriptor().getEndpoints(), -
source/ariba/overlay/BaseOverlay.cpp
r5929 r6133 916 916 917 917 // resolve end-point descriptor from the base-overlay routing table 918 return overlayInterface->resolveNode( node ); 918 const EndpointDescriptor& ep = overlayInterface->resolveNode( node ); 919 if(ep != EndpointDescriptor::UNSPECIFIED()) return ep; 920 921 // see if we can find the node in our own table 922 BOOST_FOREACH(const LinkDescriptor* ld, links){ 923 if(ld->remoteNode != node) continue; 924 const EndpointDescriptor& ep = bc->getEndpointDescriptor(ld->communicationId); 925 if(ep != EndpointDescriptor::UNSPECIFIED()) return ep; 926 } 927 928 return EndpointDescriptor::UNSPECIFIED(); 919 929 } 920 930
Note:
See TracChangeset
for help on using the changeset viewer.