Struct SocketTransportDescriptor
Defined in File SocketTransportDescriptor.hpp
Inheritance Relationships
Base Type
public eprosima::fastdds::rtps::PortBasedTransportDescriptor
(Class PortBasedTransportDescriptor)
Derived Types
public eprosima::fastdds::rtps::TCPTransportDescriptor
(Struct TCPTransportDescriptor)public eprosima::fastdds::rtps::UDPTransportDescriptor
(Struct UDPTransportDescriptor)public eprosima::fastdds::rtps::test_UDPv4TransportDescriptor
(Struct test_UDPv4TransportDescriptor)
Struct Documentation
-
struct SocketTransportDescriptor : public eprosima::fastdds::rtps::PortBasedTransportDescriptor
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::UDPTransportDescriptor, eprosima::fastdds::rtps::test_UDPv4TransportDescriptor
Public Functions
-
inline FASTDDS_EXPORTED_API SocketTransportDescriptor(uint32_t maximumMessageSize, uint32_t maximumInitialPeersRange)
Constructor.
-
FASTDDS_EXPORTED_API SocketTransportDescriptor(const SocketTransportDescriptor &t) = default
Copy constructor.
- FASTDDS_EXPORTED_API SocketTransportDescriptor & operator= (const SocketTransportDescriptor &t)=default
Copy assignment.
-
virtual FASTDDS_EXPORTED_API ~SocketTransportDescriptor() = default
Destructor.
- inline virtual FASTDDS_EXPORTED_API uint32_t min_send_buffer_size () const override
Returns the minimum size required for a send operation.
- inline bool FASTDDS_EXPORTED_API operator== (const SocketTransportDescriptor &t) const
Comparison operator.
Public Members
-
uint32_t sendBufferSize
Length of the send buffer.
-
uint32_t receiveBufferSize
Length of the receive buffer.
-
std::vector<std::string> interfaceWhiteList
Allowed interfaces in an IP or device name string format.
-
NetmaskFilterKind netmask_filter
Transport’s netmask filter configuration.
-
std::vector<AllowedNetworkInterface> interface_allowlist
Allowed interfaces in an IP or device name string format, each with a specific netmask filter configuration.
-
std::vector<BlockedNetworkInterface> interface_blocklist
Blocked interfaces in an IP or device name string format.
-
uint8_t TTL
Specified time to live (8bit - 255 max TTL)