Struct SocketTransportDescriptor
Defined in File SocketTransportDescriptor.h
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 RTPS_DllAPI SocketTransportDescriptor(uint32_t maximumMessageSize, uint32_t maximumInitialPeersRange)
Constructor.
-
RTPS_DllAPI SocketTransportDescriptor(const SocketTransportDescriptor &t) = default
Copy constructor.
- RTPS_DllAPI SocketTransportDescriptor & operator= (const SocketTransportDescriptor &t)=default
Copy assignment.
-
virtual RTPS_DllAPI ~SocketTransportDescriptor() = default
Destructor.
- inline virtual RTPS_DllAPI uint32_t min_send_buffer_size () const override
Returns the minimum size required for a send operation.
- inline bool RTPS_DllAPI operator== (const SocketTransportDescriptor &t) const
Comparison operator.
Public Members
-
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.