Changeset 3690 for source/ariba/communication
- Timestamp:
- May 26, 2009, 1:40:23 AM (16 years ago)
- Location:
- source/ariba/communication
- Files:
-
- 40 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 ); -
source/ariba/communication/BaseCommunication.h
r3037 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 #ifndef BASECOMMUNICATION_H_ … … 147 147 148 148 /** 149 * Establishes a link to another end-point 149 * Establishes a link to another end-point. 150 150 */ 151 151 const LinkID establishLink( 152 const EndpointDescriptor& descriptor, 153 const QoSParameterSet& qos = QoSParameterSet::DEFAULT, 154 const SecurityParameterSet& sec = SecurityParameterSet::DEFAULT 152 const EndpointDescriptor& descriptor, 153 const LinkID& linkid = LinkID::UNSPECIFIED, 154 const QoSParameterSet& qos = QoSParameterSet::DEFAULT, 155 const SecurityParameterSet& sec = SecurityParameterSet::DEFAULT 155 156 ); 156 157 157 158 /** 158 * Drops a link 159 * Drops a link. 159 160 * 160 161 * @param The link id of the link that should be dropped -
source/ariba/communication/CommunicationEvents.cpp
r3689 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 "CommunicationEvents.h" -
source/ariba/communication/CommunicationEvents.h
r3689 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 #ifndef __COMMUNICATION_EVENTS_H -
source/ariba/communication/EndpointDescriptor.cpp
r3037 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 "EndpointDescriptor.h" -
source/ariba/communication/EndpointDescriptor.h
r3037 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 #ifndef ENDPOINTDESCRIPTOR_H_ … … 56 56 using_serialization; 57 57 58 class EndpointDescriptor : VSerializeable {58 class EndpointDescriptor : public VSerializeable { 59 59 VSERIALIZEABLE; 60 60 -
source/ariba/communication/messages/AribaBaseMsg.cpp
r3689 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 "AribaBaseMsg.h" -
source/ariba/communication/messages/AribaBaseMsg.h
r3689 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 #ifndef ARIBA_BASE_MSG_H__ -
source/ariba/communication/modules/_namespace.h
r3689 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 #undef NAMESPACE_BEGIN -
source/ariba/communication/modules/modules.h
r3689 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 #ifndef MODULES_H_ -
source/ariba/communication/modules/network/NetworkLocator.cpp
r3689 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 "NetworkLocator.h" -
source/ariba/communication/modules/network/NetworkLocator.h
r3689 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 #ifndef NETWORKLOCATOR_H_ -
source/ariba/communication/modules/network/NetworkProtocol.cpp
r3689 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 "NetworkProtocol.h" -
source/ariba/communication/modules/network/NetworkProtocol.h
r3689 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 #ifndef NETWORKPROTOCOL_H_ -
source/ariba/communication/modules/network/ip/IPv4Locator.cpp
r3689 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 "IPv4Locator.h" -
source/ariba/communication/modules/network/ip/IPv4Locator.h
r2452 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 #ifndef IPV4LOCATOR_H_ -
source/ariba/communication/modules/network/ip/IPv4NetworkProtocol.cpp
r3689 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 "IPv4NetworkProtocol.h" -
source/ariba/communication/modules/network/ip/IPv4NetworkProtocol.h
r3689 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 #ifndef IPV4_NETWORK_PROTOCOL_H__ -
source/ariba/communication/modules/network/omnet/OmnetNetworkProtocol.cpp
r3689 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 "OmnetNetworkProtocol.h" -
source/ariba/communication/modules/network/omnet/OmnetNetworkProtocol.h
r3689 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 #ifndef __OMNET_NETWORK_PROTOCOL_H -
source/ariba/communication/modules/transport/TransportLocator.cpp
r3689 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 "TransportLocator.h" -
source/ariba/communication/modules/transport/TransportLocator.h
r3689 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 #ifndef TRANSPORTLOCATOR_H_ -
source/ariba/communication/modules/transport/TransportProtocol.cpp
r3689 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 "TransportProtocol.h" -
source/ariba/communication/modules/transport/TransportProtocol.h
r3689 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 #ifndef TRANSPORTPROTOCOL_H_ -
source/ariba/communication/modules/transport/omnet/AribaOmnetMessage.msg
r3689 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 message AribaOmnetMessage -
source/ariba/communication/modules/transport/omnet/AribaOmnetModule.cpp
r3055 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 "AribaOmnetModule.h" -
source/ariba/communication/modules/transport/omnet/AribaOmnetModule.h
r3689 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 #ifndef ARIBA_OMNET_MODULE_H__ -
source/ariba/communication/modules/transport/tcp/TCPTransport.cpp
r2467 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 "TCPTransport.h" -
source/ariba/communication/modules/transport/tcp/TCPTransport.h
r2467 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 #ifndef TCPTRANSPORT_H_ -
source/ariba/communication/modules/transport/tcp/TCPTransportLocator.cpp
r3689 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 "TCPTransportLocator.h" -
source/ariba/communication/modules/transport/tcp/TCPTransportLocator.h
r3689 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 #ifndef TCPTRANSPORTLOCATOR_H_ -
source/ariba/communication/networkinfo/AddressInformation.cpp
r3689 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 "AddressInformation.h" -
source/ariba/communication/networkinfo/AddressInformation.h
r3689 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 #ifndef __ADDRESS_INFORMATION_H -
source/ariba/communication/networkinfo/NetworkChangeDetection.cpp
r3689 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 "NetworkChangeDetection.h" -
source/ariba/communication/networkinfo/NetworkChangeDetection.h
r3689 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 #ifndef __NETWORK_CHANGE_DETECTION_H -
source/ariba/communication/networkinfo/NetworkChangeInterface.h
r3689 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 #ifndef __NETWORK_CHANGE_INTERFACE_H -
source/ariba/communication/networkinfo/NetworkInformation.cpp
r3689 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 "NetworkInformation.h" -
source/ariba/communication/networkinfo/NetworkInformation.h
r2988 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 #ifndef __NETWORK_INFORMATION_H -
source/ariba/communication/networkinfo/NetworkInterface.cpp
r3689 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 "NetworkInterface.h" -
source/ariba/communication/networkinfo/NetworkInterface.h
r3689 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 #ifndef __NETWORK_INTERFACE_H
Note:
See TracChangeset
for help on using the changeset viewer.