* Refs #20972. Move code into new private methods.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Refactor on configure_send_buffer_size.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Refactor on configure_receive_buffer_size.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Check user configuration at the beginning of init method.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Use maxMessageSize as minimum possible value.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Applying changes on OpenAndBindUnicastOutputSocket.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Add helper header with template method.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Configure methods return boolean.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Configure methods use new template method.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. OpenAndBindUnicastOutputSocket uses new template method.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Changes in OpenAndBindInputSocket.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972.Setting options on TCP channels.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Doxygen.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Check limits of configured sizes.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Add UDP unit tests.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Add TCP unit tests.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Move checks in TCP to beginning of init.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Refactor for common code in UDP.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Refactor for common code in TCP.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Remove unused constants in UDP tests.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Check final configuration on unit tests.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Uncrustify.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Less strict tests.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Remove `s_minimumSocketBuffer` from tests.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #20972. Deprecate `s_minimumSocketBuffer`.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
---------
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit 532acfa)