Commit graph

185 commits

Author SHA1 Message Date
Nickiel12
35bc3df300 changed so socket is an object with internal states 2021-12-22 15:13:33 -08:00
Nickiel12
91d267b93d added sendable stream 2021-12-22 14:19:39 -08:00
Nickiel12
335f9e7f59 switched to crrossbeam_channel from mpsc 2021-12-22 10:19:54 -08:00
Nickiel12
8238edc3f6 removed [REDACTED] from the anals or history 2021-12-22 10:15:16 -08:00
Nickiel12
84c059ba36 don't need these anymore 2021-12-22 10:14:41 -08:00
Nickiel12
8d12357f5a added new mpmc package 2021-12-22 10:12:35 -08:00
Nickiel12
1663b7d2a1 fixed incorrect return value 2021-12-20 16:25:08 -08:00
Nickiel12
23dd99eb1f change StreamIsMuted and ComputerSoundIsOn names 2021-12-20 16:24:59 -08:00
Nickiel12
9f83884a18 finished coverage of tests and implementation 2021-12-20 16:24:15 -08:00
Nickiel12
25de5872e4 added match arm for ChangeSlide 2021-12-20 15:57:31 -08:00
Nickiel12
b44a16e0e1 changed to use string values for true and false 2021-12-20 15:57:15 -08:00
Nickiel12
3decc966c9 added enum for change-slide handling 2021-12-20 15:56:46 -08:00
Nickiel12
2a2c862df8 json formatting error fixed 2021-12-20 15:24:03 -08:00
Nickiel12
607cc0a2fe updated to use new json format 2021-12-20 15:23:53 -08:00
Nickiel12
dd11b732e4 changed json standards 2021-12-20 14:30:34 -08:00
Nickiel12
dfeee75297 changed json keys from "button" -> "update 2021-12-20 14:14:54 -08:00
Nickiel12
d64a3622b5 dry-ed the to_json so only one json conversion 2021-12-20 14:14:04 -08:00
Nickiel12
cff1067ccf renamed ChangeSceneOnSlideHotkey to ChangeSceneOnChangedSlide 2021-12-20 14:05:48 -08:00
Nickiel12
cdd61e16ef added json creator for stateupdate type 2021-12-20 14:04:59 -08:00
Nickiel12
bfacd35cd8 added to_string functions 2021-12-19 20:48:26 -08:00
Nickiel12
9c0f669874 testing updats from statupdate 2021-12-19 16:59:57 -08:00
Nickiel12
227d165e20 updates now updates the state 2021-12-19 16:59:26 -08:00
Nickiel12
0c8931b984 finished extensive return value test 2021-12-19 16:40:12 -08:00
Nickiel12
67f7f2a8e8 better explainatory error 2021-12-19 00:43:49 -08:00
Nickiel12
1f87e1a1b3 half of the tests are set for the json_to_state 2021-12-19 00:43:16 -08:00
Nickiel12
fa315fa9a3 filled out match arms for incoming buttons 2021-12-18 23:33:24 -08:00
Nickiel12
2cee2afdb2 added enum match arm 2021-12-18 23:32:38 -08:00
Nickiel12
de865e9b7b fixed moved reference to json -> update 2021-12-18 23:32:17 -08:00
Nickiel12
22272a320d fixed incorrect subscene/scene reference 2021-12-18 23:26:25 -08:00
Nickiel12
3cb3123381 moved json processing to state_update 2021-12-18 23:03:32 -08:00
Nickiel12
3d79ea1633 updated tests for new subscenes/scenes 2021-12-18 23:03:16 -08:00
Nickiel12
f26b7b8a5e split scenes and subscenes enum 2021-12-18 22:58:39 -08:00
Nickiel12
8f48d213bc added tests for state_update 2021-12-18 21:09:09 -08:00
Nickiel12
57f4883c0c moved StateUpdate to its own file 2021-12-18 21:04:50 -08:00
Nickiel12
505dd4e57b added json handling package 2021-12-18 18:37:15 -08:00
Nickiel12
d2b5ea643d testing the ctrc_c setup function 2021-12-18 18:34:36 -08:00
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