Ignore:
Timestamp:
Apr 22, 2009, 9:07:53 PM (15 years ago)
Author:
Christoph Mayer
Message:

-jede Menge fixes und Umstellungen
-angefangen ariba/interface los zu werden, erste dateien sind weg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/AribaModule.cpp

    r2467 r3037  
    4646#include "ariba/utility/misc/Helper.h"
    4747#include "ariba/utility/misc/StringFormat.h"
    48 
    49 // hack includes
    50 #include "ariba/interface/UnderlayAbstraction.h"
     48#include "ariba/communication/BaseCommunication.h"
    5149#include "ariba/communication/EndpointDescriptor.h"
    5250#include "ariba/communication/modules/network/NetworkLocator.h"
    5351
    5452using namespace ariba::utility::Helper;
    55 using ariba::interface::UnderlayAbstraction;
     53using ariba::communication::BaseCommunication;
    5654using ariba::communication::EndpointDescriptor;
    5755
     
    6159
    6260        // init with default values
    63         this->underlay_abs = NULL;
     61        this->base_comm = NULL;
    6462        this->ip_addr = NULL;
    6563        this->tcp_port = 41402;
     
    132130        }
    133131
    134         //std::cout << "added bootstrap info: " << getBootstrapHints() << std::endl;
     132        //logging_debug( "added bootstrap info: " << getBootstrapHints() );
    135133}
    136134
     
    154152
    155153        // init variables
    156         underlay_abs = NULL;
     154        base_comm = NULL;
    157155}
    158156
     
    161159
    162160        // preconditions
    163         assert(underlay_abs == NULL);
     161        assert(base_comm == NULL);
    164162        assert(!started);
    165163
    166164        // create the base communication component
    167165        started = true;
    168         underlay_abs = new interface::UnderlayAbstraction();
     166        base_comm = new BaseCommunication();
    169167}
    170168
     
    173171
    174172        // preconditions
    175         assert(underlay_abs != NULL);
     173        assert(base_comm != NULL);
    176174        assert(started);
    177175
    178176        // delete base communication component
    179177        started = false;
    180         delete underlay_abs;
     178        delete base_comm;
    181179}
    182180
Note: See TracChangeset for help on using the changeset viewer.