Skip to content

Commit

Permalink
Refs #20972. Doxygen.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
MiguelCompany committed May 9, 2024
1 parent 17da415 commit c17a029
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/cpp/rtps/transport/TCPChannelResource.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,12 @@ class TCPChannelResource : public ChannelResource
const size_t& msg_size,
const asio::ip::tcp::socket::native_handle_type& socket_native_handle);

/**
* @brief Set descriptor options on a socket.
*
* @param socket Socket on which to set the options.
* @param options Descriptor with the options to set.
*/
static void set_socket_options(
asio::basic_socket<asio::ip::tcp>& socket,
const TCPTransportDescriptor* options);
Expand Down
9 changes: 9 additions & 0 deletions src/cpp/rtps/transport/UDPTransportInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,16 @@ class UDPTransportInterface : public TransportInterface

private:

/**
* @brief Prepare transport configuration regarding send buffer size.
* @return true if a send buffer size greater than max message size could be set, false otherwise.
*/
bool configure_send_buffer_size();

/**
* @brief Prepare transport configuration regarding receive buffer size.
* @return true if a receive buffer size greater than max message size could be set, false otherwise.
*/
bool configure_receive_buffer_size();

};
Expand Down

0 comments on commit c17a029

Please sign in to comment.