Fast DDS  Version 3.6.1.0
Fast DDS
TCPv6TransportDescriptor.hpp
1 // Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
20 #ifndef FASTDDS_RTPS_TRANSPORT__TCPV6TRANSPORTDESCRIPTOR_HPP
21 #define FASTDDS_RTPS_TRANSPORT__TCPV6TRANSPORTDESCRIPTOR_HPP
22 
23 #include <fastdds/rtps/transport/TCPTransportDescriptor.hpp>
24 
25 namespace eprosima {
26 namespace fastdds {
27 namespace rtps {
28 
36 {
38  virtual ~TCPv6TransportDescriptor() = default;
39 
40  virtual TransportInterface* create_transport() const override;
41 
43  FASTDDS_EXPORTED_API TCPv6TransportDescriptor();
44 
46  FASTDDS_EXPORTED_API TCPv6TransportDescriptor(
47  const TCPv6TransportDescriptor& t);
48 
50  FASTDDS_EXPORTED_API TCPv6TransportDescriptor& operator =(
51  const TCPv6TransportDescriptor& t) = default;
52 
54  FASTDDS_EXPORTED_API bool operator ==(
55  const TCPv6TransportDescriptor& t) const;
56 };
57 
58 } // namespace rtps
59 } // namespace fastdds
60 } // namespace eprosima
61 
62 #endif // FASTDDS_RTPS_TRANSPORT__TCPV6TRANSPORTDESCRIPTOR_HPP
Interface against which to implement a transport layer, decoupled from Fast DDS internals.
Definition: TransportInterface.hpp:64
TCP Transport configuration.
Definition: TCPTransportDescriptor.hpp:70
TCPv6 Transport configuration The kind value for TCPv6TransportDescriptor is given by eprosima::fastd...
Definition: TCPv6TransportDescriptor.hpp:36
FASTDDS_EXPORTED_API TCPv6TransportDescriptor()
Constructor.
FASTDDS_EXPORTED_API bool operator==(const TCPv6TransportDescriptor &t) const
Comparison operator.
FASTDDS_EXPORTED_API TCPv6TransportDescriptor & operator=(const TCPv6TransportDescriptor &t)=default
Copy assignment.
virtual ~TCPv6TransportDescriptor()=default
Destructor.
virtual TransportInterface * create_transport() const override
Factory method pattern.
FASTDDS_EXPORTED_API TCPv6TransportDescriptor(const TCPv6TransportDescriptor &t)
Copy constructor.