Changeset 5284 for source/ariba/overlay/BaseOverlay.cpp
- Timestamp:
- Jul 24, 2009, 3:23:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r5274 r5284 185 185 // route message using overlay 186 186 else { 187 logging_error("Could not send message ");187 logging_error("Could not send message descriptor=" << ld ); 188 188 logging_debug( "sendMessage: Routing message to node " << ld->remoteNode.toString() ); 189 189 overlayInterface->routeMessage( ld->remoteNode, message ); … … 689 689 690 690 void BaseOverlay::onLinkUp(const LinkID& id, 691 const NetworkLocator* local, const NetworkLocator* remote) {691 const address_v* local, const address_v* remote) { 692 692 logging_debug( "Link up with base communication link id=" << id ); 693 693 … … 740 740 // if link is a relayed link ->convert to direct link 741 741 if (ld->relay) { 742 logging_force( "Converting to direct link: " << ld ); 742 743 ld->up = true; 743 744 ld->relay = false; … … 756 757 757 758 void BaseOverlay::onLinkDown(const LinkID& id, 758 const NetworkLocator* local, const NetworkLocator* remote) {759 const address_v* local, const address_v* remote) { 759 760 760 761 // get descriptor for link … … 780 781 781 782 void BaseOverlay::onLinkChanged(const LinkID& id, 782 const NetworkLocator* oldlocal, const NetworkLocator* newlocal,783 const NetworkLocator* oldremote, const NetworkLocator* newremote) {783 const address_v* oldlocal, const address_v* newlocal, 784 const address_v* oldremote, const address_v* newremote) { 784 785 785 786 // get descriptor for link … … 797 798 798 799 void BaseOverlay::onLinkFail(const LinkID& id, 799 const NetworkLocator* local, const NetworkLocator* remote) {800 const address_v* local, const address_v* remote) { 800 801 logging_debug( "Link fail with base communication link id=" << id ); 801 802 … … 813 814 } 814 815 815 void BaseOverlay::onLinkQoSChanged(const LinkID& id, const NetworkLocator* local,816 const NetworkLocator* remote, const QoSParameterSet& qos) {816 void BaseOverlay::onLinkQoSChanged(const LinkID& id, const address_v* local, 817 const address_v* remote, const QoSParameterSet& qos) { 817 818 logging_debug( "Link quality changed with base communication link id=" << id ); 818 819 … … 826 827 } 827 828 828 bool BaseOverlay::onLinkRequest( const LinkID& id, const NetworkLocator* local,829 const NetworkLocator* remote ) {830 logging_debug("Accepting link request from " << remote->to String() );829 bool BaseOverlay::onLinkRequest( const LinkID& id, const address_v* local, 830 const address_v* remote ) { 831 logging_debug("Accepting link request from " << remote->to_string() ); 831 832 return true; 832 833 } … … 1358 1359 case OverlayMsg::typeDirectLink: { 1359 1360 LinkDescriptor* rld = getDescriptor( overlayMsg->getRelayLink() ); 1361 logging_force( "Received direct link convert notification for " << rld ); 1360 1362 rld->communicationId = ld->communicationId; 1361 1363 rld->communicationUp = true;
Note:
See TracChangeset
for help on using the changeset viewer.