Changeset 5772
- Timestamp:
- Aug 7, 2009, 12:34:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/SideportListener.cpp
r5689 r5772 107 107 SideportListener::Protocol SideportListener::getReachabilityProtocol(const NodeID& node){ 108 108 int ret = SideportListener::undefined; 109 if( overlay == NULL ) return (Protocol)ret; 109 if( overlay == NULL ){ 110 cout << "XXXXXXXXXXXXx invalid overlay" << std::endl; 111 return (Protocol)ret; 112 } 110 113 111 114 using namespace ariba::addressing; 112 115 113 116 LinkDescriptor* link = overlay->getSendDescriptor(node); 114 if (link==NULL) return (Protocol)ret; 117 if (link==NULL){ 118 cout << "XXXXXXXXXXXXx invalid linkdescriptor for " << node.toString() << std::endl; 119 return (Protocol)ret; 120 } 115 121 116 122 BaseCommunication::LinkDescriptor& bclink = 117 123 overlay->bc->queryLocalLink(link->communicationId); 118 124 119 if(bclink.isUnspecified() || bclink.localLocator == NULL) return (Protocol)ret; 125 if(bclink.isUnspecified() || bclink.localLocator == NULL){ 126 cout << "XXXXXXXXXXXXx bclink for node " << node.toString() << std::endl; 127 return (Protocol)ret; 128 } 120 129 121 130 const address_v* locator = bclink.remoteLocator;
Note:
See TracChangeset
for help on using the changeset viewer.