18.3.3.2. UDPv4TransportDescriptor

struct UDPv4TransportDescriptor : public eprosima::fastdds::rtps::UDPTransportDescriptor

UDPv4 Transport configuration The kind value for UDPv4TransportDescriptor is given by eprosima::fastrtps::rtps::LOCATOR_KIND_UDPv4.

Public Functions

virtual ~UDPv4TransportDescriptor() = default

Destructor.

virtual TransportInterface *create_transport() const override

Factory method pattern. It will create and return a TransportInterface corresponding to this descriptor. This provides an interface to the NetworkFactory to create the transports without the need to know about their type

UDPv4TransportDescriptor()

Constructor.

UDPv4TransportDescriptor(const UDPv4TransportDescriptor &t) = default

Copy constructor.

UDPv4TransportDescriptor &operator=(const UDPv4TransportDescriptor &t) = default

Copy assignment.