Commit Graph

25 Commits

Author SHA1 Message Date
michael-bailey 89d673b32f moved Lua structs to separate module 2022-05-09 23:06:54 +01:00
michael-bailey 6ebdb441e1 added basic callback support to ClientManager 2022-05-09 23:06:54 +01:00
michael-bailey b29d055aa1 added client indexing to client manager 2022-05-09 23:06:54 +01:00
michael-bailey 43cafc2c4d Made client manager Lua scriptable 2022-05-09 23:06:54 +01:00
michael-bailey 2783c381e0 implemented message sending between users 2022-03-01 21:06:55 +00:00
michael-bailey 8f100c0f1c Added the ability to disconnect from the server 2022-03-01 20:12:21 +00:00
michael-bailey 8f0b502487 cleared up warnings 2022-03-01 19:35:59 +00:00
michael-bailey e3c1f12be5 Added Message Broadcasting functionality 2022-03-01 17:52:18 +00:00
michael-bailey 086210fbd9 Update client_manager.rs
bunch more changes

yes i know i'm rubbish at this plz don't say anything :(
2022-03-01 17:30:45 +00:00
michael-bailey 26383d4031 moved some messages around 2022-03-01 13:34:33 +00:00
michael-bailey 7e920c25c1 Update client_manager.rs
+ created function to add/remove clients to the client manager.
2022-02-28 20:42:15 +00:00
michael-bailey cfe72b6c7b Update client_manager.rs
+ created function to get the number of connected clients
2022-02-28 18:13:27 +00:00
michael-bailey 2e74aa058f Update client_manager.rs
+ updated lifetime bounds.
2022-02-28 17:50:59 +00:00
michael-bailey 294edc4df3 Update client_manager.rs
- implemented handle channel method from old start method.
- added notes to possible issues.
2022-02-28 17:48:15 +00:00
michael-bailey 9512b82cd0 Update client_manager.rs
- Added type arguments to Client manager
- deprecated start method
2022-02-28 17:47:08 +00:00
michael-bailey ff85d1c28b Update client_manager.rs
swapped lock type for tokio lock
2022-02-28 17:45:57 +00:00
michael-bailey 140afe1a4a Added client manager tests 2022-02-26 17:12:55 +00:00
michael-bailey d77d7f20a0 Impl IManager for ClientManager 2022-02-26 17:12:41 +00:00
michael-bailey 8197231401 Right bare with me...
This doesnt work for now but i have a system that works.

After this commit i will be resuming the smaller changes.

I needed to do this to find a new approach.

God save my mind.
2022-02-26 09:21:41 +00:00
michael-bailey d320f345c8 Created global message support 2022-02-01 20:51:04 +00:00
michael-bailey 14495e1b27 Moved threads to tokio async 2021-08-03 21:58:18 +01:00
michael-bailey 2f8677710a Moved threads to tokio async 2021-08-03 21:58:18 +01:00
michael-bailey 614e73b788 replaced duplicate fields 2021-04-25 14:28:39 +01:00
michael-bailey 71b77de447 adding user update support 2021-04-22 12:56:53 +00:00
michael bailey 5aa4f8caf6
Pulling basic server functionality into development (#9)
* removed redundant files

* moved files to new foundation library

* added new foundation crate

* added new client program crate

* added new server program crate

* added new serverctl program crate

* change toml to be a workspace instead of a project

* implementing more connection to network functionality

* implementing more connection to network functionality

* Implemented IMessageable for client, client manager as well as basic commands in netmgr

* fixing blocking issues with componenets

* adding network stream queuefor handling connections in a non blocking way

* ffixing blocking calls in network manager

* adding threading support to prevent blocking calls

* running rust formatter

* Created Client threads and implemented connect command

* fixed client not disconnecting issue

* adding messaging support between clients

* Implemented client messaging through the server

* removing unnecessary prints and thread delays

* adding support for updating clients
2021-04-13 18:17:58 +01:00