Chops Net IP
Loading...
Searching...
No Matches
msg_handling_start_funcs.hpp File Reference

Function declarations and implementations that create and start shared test msg handling objects. More...

#include <string_view>
#include <cstddef>
#include "asio/ip/udp.hpp"
#include "net_ip/io_type_decls.hpp"
#include "shared_test/msg_handling.hpp"
Include dependency graph for msg_handling_start_funcs.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using chops::test::tcp_msg_hdlr = msg_hdlr<chops::net::tcp_io>
 
using chops::test::udp_msg_hdlr = msg_hdlr<chops::net::udp_io>
 
using chops::test::tcp_fixed_size_msg_hdlr = fixed_size_msg_hdlr<chops::net::tcp_io>
 
using chops::test::udp_fixed_size_msg_hdlr = fixed_size_msg_hdlr<chops::net::udp_io>
 

Functions

auto chops::test::tcp_start_io (chops::net::tcp_io_interface io, bool reply, std::string_view delim, test_counter &cnt)
 
auto chops::test::udp_start_io (chops::net::udp_io_interface io, bool reply, test_counter &cnt)
 
auto chops::test::udp_start_io (chops::net::udp_io_interface io, bool receiving, test_counter &cnt, const asio::ip::udp::endpoint &remote_endp)
 
asio::ip::udp::endpoint chops::test::make_udp_endpoint (const char *addr, int port_num)
 

Variables

constexpr int chops::test::udp_max_buf_size = 65507
 

Detailed Description

Function declarations and implementations that create and start shared test msg handling objects.

These functions are split out from msg_handling.hpp because they bring in more dependencies. In particular, chops::net::tcp_io and chops::net::udp_io declarations are needed, which bring in tcp_io and udp_entity_io headers in the detail directory.

Author
Cliff Green

Copyright (c) 2018-2019 by Cliff Green

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)