Changeset 6849 for source/ariba/overlay
- Timestamp:
- Nov 5, 2009, 4:53:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r6848 r6849 912 912 } 913 913 914 visual.configure("134.155.92.246", 50005);914 //visual.configure("134.155.92.246", 50005); 915 915 //visual.configure("141.3.161.8", 50005); 916 916 visual.visCreate(visualIdBase, nodeId, "", ""); … … 1318 1318 ld->communicationUp = false; 1319 1319 if (!ld->service.isUnspecified()) { 1320 getListener(ld->service)->onLinkDown( ld->overlayId, ld->remoteNode ); 1320 CommunicationListener* lst = getListener(ld->service); 1321 if(lst != NULL) lst->onLinkDown( ld->overlayId, ld->remoteNode ); 1321 1322 sideport->onLinkDown( id, this->nodeId, ld->remoteNode, this->spovnetId ); 1322 1323 } … … 1545 1546 1546 1547 // delegate data message 1547 getListener(service)->onMessage( 1548 overlayMsg, 1549 overlayMsg->getSourceNode(), 1550 overlayMsg->getDestinationLink() 1551 ); 1548 CommunicationListener* lst = getListener(service); 1549 if(lst != NULL){ 1550 lst->onMessage( 1551 overlayMsg, 1552 overlayMsg->getSourceNode(), 1553 overlayMsg->getDestinationLink() 1554 ); 1555 } 1552 1556 1553 1557 return true; … … 1829 1833 return ret; 1830 1834 } 1831 1832 1835 1833 1836 // handle base overlay message … … 2092 2095 2093 2096 // delegate data message 2094 getListener(service)->onKeyValue(dhtMsg->getKey(), dhtMsg->getValues() ); 2097 CommunicationListener* lst = getListener(service); 2098 if(lst != NULL) lst->onKeyValue(dhtMsg->getKey(), dhtMsg->getValues() ); 2095 2099 return true; 2096 2100 }
Note:
See TracChangeset
for help on using the changeset viewer.