17.3.1.4. SocketTransportDescriptor¶
-
struct eprosima::fastdds::rtps::SocketTransportDescriptor : public eprosima::fastdds::rtps::TransportDescriptorInterface¶
Virtual base class for the data type used to define configuration of transports using sockets.
sendBufferSize:
size of the sending buffer of the socket (in octets).receiveBufferSize:
size of the receiving buffer of the socket (in octets).interfaceWhiteList:
list of allowed interfaces.TTL:
time to live, in number of hops.
Subclassed by eprosima::fastdds::rtps::TCPTransportDescriptor, eprosima::fastdds::rtps::test_UDPv4TransportDescriptor, eprosima::fastdds::rtps::UDPTransportDescriptor
Public Functions
-
inline SocketTransportDescriptor(uint32_t maximumMessageSize, uint32_t maximumInitialPeersRange)¶
Constructor.
-
SocketTransportDescriptor(const SocketTransportDescriptor &t) = default¶
Copy constructor.
-
SocketTransportDescriptor &operator=(const SocketTransportDescriptor &t) = default¶
Copy assignment.
-
virtual ~SocketTransportDescriptor() = default¶
Destructor.
-
inline virtual uint32_t min_send_buffer_size() const override¶
Returns the minimum size required for a send operation.
-
inline bool operator==(const SocketTransportDescriptor &t) const¶
Comparison operator.
-
constexpr uint8_t eprosima::fastdds::rtps::s_defaultTTL = 1¶
Default time to live (TTL)