Changeset 6944 for source/ariba
- Timestamp:
- Nov 17, 2009, 4:26:04 PM (15 years ago)
- Location:
- source/ariba
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/SideportListener.cpp
r5945 r6944 56 56 57 57 string SideportListener::getEndpointDescription( const LinkID& link ) const { 58 if( overlay == NULL ) return ""; 58 if( overlay == NULL ) { 59 std::cerr << "Sideport: No overlay found." << std::endl; 60 return ""; 61 } 62 std::cerr << "WTF!!!" << std::endl; 59 63 return overlay->getEndpointDescriptor(link).toString(); 60 64 } 61 65 62 66 string SideportListener::getEndpointDescription( const NodeID& node ) const { 63 if( overlay == NULL ) return ""; 67 if( overlay == NULL ) { 68 std::cerr << "Sideport: No overlay found." << std::endl; 69 return ""; 70 } 64 71 return overlay->getEndpointDescriptor(node).toString(); 65 72 } -
source/ariba/communication/BaseCommunication.cpp
r6919 r6944 241 241 242 242 const EndpointDescriptor& BaseCommunication::getEndpointDescriptor(const LinkID link) const { 243 if( link == LinkID::UNSPECIFIED){243 if( link.isUnspecified() ){ 244 244 return localDescriptor; 245 245 } else { -
source/ariba/overlay/BaseOverlay.cpp
r6939 r6944 1148 1148 const EndpointDescriptor& ep = 1149 1149 bc->getEndpointDescriptor(ld->communicationId); 1150 if(ep.toString() == "") continue;1151 1150 if(ep != EndpointDescriptor::UNSPECIFIED()) { 1152 1151 logging_info("getEndpointDescriptor: using " << ld->to_string());
Note:
See TracChangeset
for help on using the changeset viewer.