Chops Net IP
|
Test application that sends and receives data as well as sends progress messages to a monitor application. More...
#include <cstddef>
#include <cstdlib>
#include <utility>
#include <thread>
#include <future>
#include <chrono>
#include <functional>
#include <string_view>
#include <string>
#include <algorithm>
#include <iostream>
#include "net_ip/net_ip.hpp"
#include "net_ip/net_entity.hpp"
#include "net_ip_component/worker.hpp"
#include "net_ip_component/output_queue_stats.hpp"
#include "net_ip_component/error_delivery.hpp"
#include "shared_test/msg_handling.hpp"
#include "buffer/shared_buffer.hpp"
#include "test_data_blaster/dsr_args.hpp"
#include "test_data_blaster/monitor_msg_handling.hpp"
Classes | |
struct | msg_hdlr |
struct | state_chg |
Typedefs | |
using | send_fut_vec = std::vector<std::future<int>> |
Functions | |
void | send_mon_msg (chops::test::monitor_connector &mon, chops::test::monitor_msg_data &mon_msg, int curr_msg_num, int mod, chops::net::tcp_io_output io_out, const std::byte *msg_ptr, std::size_t msg_size) |
int | send_msgs_func (chops::net::tcp_io_output io_out, char body_char, int send_count, int mod, std::chrono::milliseconds delay, chops::test::monitor_connector &mon, chops::test::monitor_msg_data mon_msg) |
void | start_entity (chops::net::net_entity ent, char body_char, const chops::test::tcp_dsr_args &parms, send_fut_vec &send_futs, chops::test::monitor_connector &mon, chops::test::monitor_msg_data mon_msg, chops::net::err_wait_q &err_wq) |
auto | temp_parse_cmd (int argc, char *argv[]) |
int | main (int argc, char *argv[]) |
Variables | |
const std::string_view | msg_prefix { "Tasty!" } |
Test application that sends and receives data as well as sends progress messages to a monitor application.
Copyright (c) 2019-2025 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)