Commit graph

149 commits

Author SHA1 Message Date
Nickiel12
9c1c035026 moved setting up the control c to a function 2021-12-18 18:34:14 -08:00
Nickiel12
e9c546f559 added cntrl_c exit handling 2021-12-18 18:22:14 -08:00
Nickiel12
8d09c6142c fixed failed flag exiting 2021-12-18 18:21:54 -08:00
Nickiel12
7ecc687f36 added ctrlc crate for handling control c 2021-12-18 18:12:21 -08:00
Nickiel12
1dc31de486 propogated all stop flag for each client 2021-12-18 17:44:56 -08:00
Nickiel12
6917e51400 added basic working example 2021-12-18 17:44:32 -08:00
Nickiel12
eb536e25ec removed unused imports 2021-12-17 20:45:54 -08:00
Nickiel12
8985d3bd0a future function 2021-12-17 20:45:32 -08:00
Nickiel12
4534abc2cb handle_client now supports multiple messages 2021-12-17 20:40:03 -08:00
Nickiel12
0b7f161188 reoved unused imports 2021-12-17 20:36:34 -08:00
Nickiel12
fb4ed9cc37 refactoring 2021-12-17 18:27:00 -08:00
Nickiel12
ebbc4ff5f9 each test needs a unique socket to not error 2021-12-17 18:03:30 -08:00
Nickiel12
2d3d27fbfb got basic message handling 2021-12-17 18:02:34 -08:00
Nickiel12
31dc567e29 moved sockets from main to sockethandler 2021-12-17 17:17:42 -08:00
Nickiel12
edea79e99b guess the lock gets updated as well 2021-12-17 16:30:35 -08:00
Nickiel12
98190ad021 why was this here? 2021-12-17 16:29:55 -08:00
Nickiel12
4bedc2947a added workctl for thread-safe flags 2021-12-17 16:29:47 -08:00
Nickiel12
28847873f6 replaced server address with a constant 2021-12-17 12:55:00 -08:00
Nickiel12
6203112195 added a test that making a stream should fail 2021-12-17 12:52:18 -08:00
Nickiel12
31b628cb01 added connection test. 2021-12-17 12:49:27 -08:00
Nickiel12
264b496ef2 created basic tcp listener 2021-12-17 12:39:11 -08:00
Nickiel12
5264001ab5 cleaned up warnings 2021-12-17 12:38:56 -08:00
Nickiel12
b302539831 added future file, empty for now 2021-12-17 12:38:28 -08:00
Nickiel12
48e2fbfd14 changed name to reflect actual use of states io 2021-12-16 15:54:59 -08:00
Nickiel12
8fbc5be7d5 updated to new accessors for scenes 2021-12-16 15:53:18 -08:00
Nickiel12
0618f7262a removed unecessary functions 2021-12-16 15:51:18 -08:00
Nickiel12
ad03365d1e added should panic test for not set up 2021-12-16 15:50:29 -08:00
Nickiel12
880956a164 added multi-input test 2021-12-16 15:47:14 -08:00
Nickiel12
0cdd74b917 added threaded struct to handle mulitthreaded things 2021-12-16 15:39:53 -08:00
Nickiel12
ef37f875ec changed message_handler to be a trait 2021-12-16 15:39:36 -08:00
Nickiel12
2167806355 added io_handler to module truee 2021-12-14 08:28:02 -08:00
Nickiel12
4464010126 added new file 2021-12-14 08:16:41 -08:00
Nickiel12
456ab247bc renamed main tests file 2021-12-14 08:16:32 -08:00
Nickiel12
7d548688ed basic tests and functionality 2021-12-11 16:30:45 -08:00
Nickiel12
a3e56cf954 added testing module 2021-12-11 15:23:01 -08:00
Nickiel12
4721366ec8 updated to include mutable borrows. Oops 2021-12-11 15:22:42 -08:00
Nickiel12
ef8fbbd444 added start of next module 2021-12-11 14:33:37 -08:00
Nickiel12
023fd854a1 added start of next module 2021-12-11 02:24:26 -08:00
Nickiel12
690571afa4 names and derivations 2021-12-11 02:24:12 -08:00
Nickiel12
cb6e8ccf91 renames, spacing adding, and derivings added 2021-12-11 02:23:45 -08:00
Nickiel12
ea48484fc2 basic example of threaded communication 2021-12-11 02:22:46 -08:00
Nickiel12
2611de9b2b changed to use update message system 2021-12-11 01:59:14 -08:00
Nickiel12
a27d7c7a0a added default augmented scene 2021-12-11 01:58:42 -08:00
Nickiel12
b9646df2d1 added accessors for newly private members 2021-12-11 00:44:50 -08:00
Nickiel12
eb807b32ac added tests for default states 2021-12-11 00:44:16 -08:00
Nickiel12
3057df1e7c implementing changing the scenes 2021-12-10 16:32:59 -08:00
Nickiel12
fef2475ef2 all permutations for scenes checked 2021-12-10 16:32:34 -08:00
Nickiel12
1699c771c8 added basic enums 2021-12-10 16:02:18 -08:00
Nickiel12
a6cacbbd58 basic setup 2021-12-10 15:16:05 -08:00