Changeset 5493 for source


Ignore:
Timestamp:
Jul 30, 2009, 4:44:40 PM (15 years ago)
Author:
mies
Message:
 
Location:
source/ariba
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/BaseOverlay.cpp

    r5487 r5493  
    172172                        << " using relay " << ld->localRelay
    173173                );
    174 
     174/*
    175175                // get local relay link descriptor and mark as used for relaying
    176176                LinkDescriptor* rld = getRelayDescriptor(ld->localRelay);
     
    180180                        return -1;
    181181                }
    182                 rld->markAsRelay();
     182                rld->markAsRelay();*/
    183183
    184184                // create a information relay message to inform the relay about
     
    190190                // route message to relay node in order to inform it!
    191191                logging_debug("sendMessage: Sending message over relayed link with" << ld );
    192                 overlayInterface->routeMessage(rld->remoteNode, rld->overlayId, &overlay_msg);
     192                sendOverlay( &overlay_msg, ld->localRelay );
    193193                return 0;
    194194        }
  • source/ariba/utility/transport/rfcomm/rfcomm.cpp

    r5481 r5493  
    378378
    379379void rfcomm::start_write( link_info* info ) {
    380         boost::mutex::scoped_lock(info->mutex);
    381 
    382380        // do not start writing if sending is in progress
    383381        if (info->sending || !info->up || info->send_buffer.size()==0) return;
Note: See TracChangeset for help on using the changeset viewer.