Changeset 4836 for source/ariba/overlay


Ignore:
Timestamp:
Jul 9, 2009, 1:50:37 PM (15 years ago)
Author:
Christoph Mayer
Message:

einige avahi fixes und ablauf

Location:
source/ariba/overlay
Files:
2 added
2 edited

Legend:

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

    r4762 r4836  
    112112                        " with nodeid " << nodeId.toString());
    113113
     114        spovnetId = id;
     115        state = BaseOverlayStateJoinInitiated;
     116
     117
     118        //
     119        // start bootstrapping for spovnetid
     120        //
     121
     122        overlayBootstrap.start( this, spovnetId, nodeId );
     123        overlayBootstrap.publish( bc->getEndpointDescriptor() );
     124
    114125        //
    115126        // contact the spovnet initiator and request
     
    120131        // but first, we have to establish a link to the initiator...
    121132        //
    122 
    123         spovnetId = id;
    124         state = BaseOverlayStateJoinInitiated;
    125133
    126134        initiatorLink = bc->establishLink( bootstrapEp );
  • source/ariba/overlay/BaseOverlay.h

    r3712 r4836  
    6363#include "ariba/overlay/modules/OverlayFactory.h"
    6464#include "ariba/overlay/modules/OverlayStructureEvents.h"
     65#include "ariba/overlay/OverlayBootstrap.h"
    6566
    6667// forward declarations
    6768namespace ariba {
    68 class NodeListener;
    69 class CommunicationListener;
    70 class SideportListener;
    71 namespace utility {
    72 class OvlVis;
    73 }
     69  class NodeListener;
     70  class CommunicationListener;
     71  class SideportListener;
     72  namespace utility {
     73    class OvlVis;
     74  }
    7475}
    7576
     
    8384using std::deque;
    8485
     86// ariba interface
    8587using ariba::NodeListener;
    8688using ariba::CommunicationListener;
     89
     90// overlay
     91using ariba::overlay::OverlayBootstrap;
    8792
    8893// communication
     
    497502        JoiningNodes joiningNodes;
    498503
     504        /**
     505         * Bootstrapper for our spovnet
     506         */
     507        OverlayBootstrap overlayBootstrap;
    499508};
    500509
Note: See TracChangeset for help on using the changeset viewer.