aquarium_control/simulator.rs
1/* Copyright 2024 Uwe Martin
2
3Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
5The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
7THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8*/
9
10/// Contains the main functionality for communication with the test server
11pub mod tcp_communication;
12
13/// Contains trait implementation for other threads to communicate with the thread defined in tcp_communication
14pub mod get_resp_sim;
15
16/// Contains the error definition for communication with the simulator via TCP
17pub mod tcp_communication_error;
18
19/// Contains definition of data to be exchanged with the test server
20pub mod tcp_data;
21
22/// Contains channels for communication between threads
23pub mod tcp_communication_channels;
24
25/// Configuration of TcpCommunication
26pub mod tcp_communication_config;