Changeset 5870 for source/ariba/SideportListener.cpp
- Timestamp:
- Aug 11, 2009, 4:11:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/SideportListener.cpp
r5838 r5870 85 85 bool SideportListener::isRelayedNode(const NodeID& node){ 86 86 if( overlay == NULL ) return false; 87 /* 88 bool relay = false; 87 89 88 90 bool relay = false; … … 100 102 } 101 103 104 <<<<<<< .working 102 105 return relay; 106 ======= 107 return relay; 108 */ 109 110 return false; 111 >>>>>>> .merge-rechts.r5869 103 112 } 104 113 105 114 bool SideportListener::isRelayingNode(const NodeID& node){ 106 115 if( overlay == NULL ) return false; 107 116 /* 108 117 BOOST_FOREACH( LinkDescriptor* link, overlay->links ){ 109 118 if( link->relay && link->localRelay == node && link->up) 110 119 return true; 111 120 } 112 121 */ 113 122 return false; 114 123 } … … 119 128 120 129 using namespace ariba::addressing; 121 130 /* 122 131 LinkDescriptor* link = overlay->getSendDescriptor(node); 123 132 if (link==NULL) return (Protocol)ret; … … 142 151 ret = SideportListener::rfcomm; 143 152 } 144 153 */ 145 154 return (Protocol)ret; 146 155 }
Note:
See TracChangeset
for help on using the changeset viewer.