Changeset 3037 for source/ariba/AribaModule.cpp
- Timestamp:
- Apr 22, 2009, 9:07:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/AribaModule.cpp
r2467 r3037 46 46 #include "ariba/utility/misc/Helper.h" 47 47 #include "ariba/utility/misc/StringFormat.h" 48 49 // hack includes 50 #include "ariba/interface/UnderlayAbstraction.h" 48 #include "ariba/communication/BaseCommunication.h" 51 49 #include "ariba/communication/EndpointDescriptor.h" 52 50 #include "ariba/communication/modules/network/NetworkLocator.h" 53 51 54 52 using namespace ariba::utility::Helper; 55 using ariba:: interface::UnderlayAbstraction;53 using ariba::communication::BaseCommunication; 56 54 using ariba::communication::EndpointDescriptor; 57 55 … … 61 59 62 60 // init with default values 63 this-> underlay_abs= NULL;61 this->base_comm = NULL; 64 62 this->ip_addr = NULL; 65 63 this->tcp_port = 41402; … … 132 130 } 133 131 134 // std::cout << "added bootstrap info: " << getBootstrapHints() << std::endl;132 //logging_debug( "added bootstrap info: " << getBootstrapHints() ); 135 133 } 136 134 … … 154 152 155 153 // init variables 156 underlay_abs= NULL;154 base_comm = NULL; 157 155 } 158 156 … … 161 159 162 160 // preconditions 163 assert( underlay_abs== NULL);161 assert(base_comm == NULL); 164 162 assert(!started); 165 163 166 164 // create the base communication component 167 165 started = true; 168 underlay_abs = new interface::UnderlayAbstraction();166 base_comm = new BaseCommunication(); 169 167 } 170 168 … … 173 171 174 172 // preconditions 175 assert( underlay_abs!= NULL);173 assert(base_comm != NULL); 176 174 assert(started); 177 175 178 176 // delete base communication component 179 177 started = false; 180 delete underlay_abs;178 delete base_comm; 181 179 } 182 180
Note:
See TracChangeset
for help on using the changeset viewer.