Changeset 3690 for source/ariba/communication/BaseCommunication.cpp
- Timestamp:
- May 26, 2009, 1:40:23 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/BaseCommunication.cpp
r3067 r3690 1 // [Licen ce]1 // [License] 2 2 // The Ariba-Underlay Copyright 3 3 // … … 35 35 // official policies, either expressed or implied, of the Institute of 36 36 // Telematics. 37 // [Licen ce]37 // [License] 38 38 39 39 #include "BaseCommunication.h" … … 160 160 161 161 const LinkID BaseCommunication::establishLink( 162 const EndpointDescriptor& descriptor, 163 const QoSParameterSet& qos, 164 const SecurityParameterSet& sec){ 165 162 const EndpointDescriptor& descriptor, 163 const LinkID& link_id, 164 const QoSParameterSet& qos, 165 const SecurityParameterSet& sec) { 166 167 // copy link id 168 LinkID linkid = link_id; 169 170 // debug 166 171 logging_debug( "request to establish link" ); 167 172 … … 169 174 // just use the first locator in the endp descriptors 170 175 // 171 172 176 if( descriptor.locator == NULL ){ 173 177 logging_error( "invalid destination endpoint" ); … … 183 187 const NetworkLocator* local = localDescriptor.locator; 184 188 185 // 186 // create link and link descriptor 187 // 188 189 LinkID linkid = LinkID::create(); 190 189 // create link identifier and link descriptor 190 if (linkid.isUnspecified()) linkid = LinkID::create(); 191 191 logging_debug( "creating new local descriptor entry with local link id " << linkid.toString() ); 192 192 LinkDescriptor linkDescriptor( linkid, local, LinkID::UNSPECIFIED, remote, descriptor, false );
Note:
See TracChangeset
for help on using the changeset viewer.