Ignore:
Timestamp:
Jul 24, 2009, 3:23:11 PM (15 years ago)
Author:
mies
Message:

+ added new transport modules and adapted ariba to them
+ exchange endpoint descriptors an link establishment
+ clean up of base communication
+ link establishment with in the presence of multiple endpoints
+ local discovery for ipv6, ipv4 and bluetooth mac addresses

File:
1 edited

Legend:

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

    r5274 r5284  
    185185        // route message using overlay
    186186        else {
    187                 logging_error("Could not send message");
     187                logging_error("Could not send message descriptor=" << ld );
    188188                logging_debug( "sendMessage: Routing message to node " << ld->remoteNode.toString() );
    189189                overlayInterface->routeMessage( ld->remoteNode, message );
     
    689689
    690690void BaseOverlay::onLinkUp(const LinkID& id,
    691         const NetworkLocator* local, const NetworkLocator* remote) {
     691        const address_v* local, const address_v* remote) {
    692692        logging_debug( "Link up with base communication link id=" << id );
    693693
     
    740740                // if link is a relayed link ->convert to direct link
    741741                if (ld->relay) {
     742                        logging_force( "Converting to direct link: " << ld );
    742743                        ld->up = true;
    743744                        ld->relay = false;
     
    756757
    757758void BaseOverlay::onLinkDown(const LinkID& id,
    758         const NetworkLocator* local, const NetworkLocator* remote) {
     759        const address_v* local, const address_v* remote) {
    759760
    760761        // get descriptor for link
     
    780781
    781782void 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) {
    784785
    785786        // get descriptor for link
     
    797798
    798799void BaseOverlay::onLinkFail(const LinkID& id,
    799         const NetworkLocator* local, const NetworkLocator* remote) {
     800        const address_v* local, const address_v* remote) {
    800801        logging_debug( "Link fail with base communication link id=" << id );
    801802
     
    813814}
    814815
    815 void BaseOverlay::onLinkQoSChanged(const LinkID& id, const NetworkLocator* local,
    816         const NetworkLocator* remote, const QoSParameterSet& qos) {
     816void BaseOverlay::onLinkQoSChanged(const LinkID& id, const address_v* local,
     817        const address_v* remote, const QoSParameterSet& qos) {
    817818        logging_debug( "Link quality changed with base communication link id=" << id );
    818819
     
    826827}
    827828
    828 bool BaseOverlay::onLinkRequest( const LinkID& id, const NetworkLocator* local,
    829         const NetworkLocator* remote ) {
    830         logging_debug("Accepting link request from " << remote->toString() );
     829bool BaseOverlay::onLinkRequest( const LinkID& id, const address_v* local,
     830        const address_v* remote ) {
     831        logging_debug("Accepting link request from " << remote->to_string() );
    831832        return true;
    832833}
     
    13581359                case OverlayMsg::typeDirectLink: {
    13591360                        LinkDescriptor* rld = getDescriptor( overlayMsg->getRelayLink() );
     1361                        logging_force( "Received direct link convert notification for " << rld );
    13601362                        rld->communicationId = ld->communicationId;
    13611363                        rld->communicationUp = true;
Note: See TracChangeset for help on using the changeset viewer.