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