Changeset 2482 for source


Ignore:
Timestamp:
Feb 24, 2009, 10:03:27 PM (16 years ago)
Author:
Christoph Mayer
Message:

-added missing port and ip parameters to join

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/Node.cpp

    r2473 r2482  
    141141        nodeId = generateNodeId(name);
    142142        this->context = ariba_mod.underlay_abs->joinSpoVNet(spovnetId,
    143                         *ariba_mod.getBootstrapNode(vnetname), nodeId);
     143                                *ariba_mod.getBootstrapNode(vnetname), nodeId,
     144                                ariba_mod.ip_addr, ariba_mod.tcp_port);
    144145}
    145146
     
    147148void Node::initiate(const Name& vnetname, const SpoVNetProperties& parm) {
    148149        utility::OverlayParameterSet ovrpset =
    149                         (utility::OverlayParameterSet::_OverlayStructure) parm.getBaseOverlayType();
     150                        (utility::OverlayParameterSet::_OverlayStructure)
     151                        parm.getBaseOverlayType();
    150152
    151153        spovnetId = vnetname.toSpoVNetId();
    152154        nodeId = generateNodeId(name);
    153155
    154         this->context = ariba_mod.underlay_abs->createSpoVNet(spovnetId, nodeId,
    155                                                         ariba_mod.ip_addr, ariba_mod.tcp_port);
     156        this->context = ariba_mod.underlay_abs->createSpoVNet(
     157                                spovnetId, nodeId, ariba_mod.ip_addr,
     158                                ariba_mod.tcp_port);
     159
    156160        ariba_mod.addBootstrapNode(vnetname,
    157                 new EndpointDescriptor(this->context->getBaseCommunication().getEndpointDescriptor()));
     161                new EndpointDescriptor(this->context->
     162                getBaseCommunication().getEndpointDescriptor()));
    158163}
    159164
Note: See TracChangeset for help on using the changeset viewer.