michael-bailey
030bd8ca53
reformatted files
2021-08-12 18:04:41 +01:00
michael-bailey
dc164fc325
Create mod.rs
...
+ added socket handler to manage socket connections and message passing
+ added tests
+ added transformer functionality to manipulate bytes
2021-08-12 18:01:56 +01:00
michael-bailey
a39e43396f
Update prelude.rs
...
also should have added this earlier
2021-08-12 17:51:50 +01:00
michael-bailey
5615a8b7a8
Update lib.rs
...
forgot this file ¯\_(ツ)_/¯
2021-08-12 17:48:03 +01:00
michael-bailey
7d759f152b
Create helpers.rs
...
+ added struct to mock and async stream
2021-08-12 17:47:42 +01:00
michael-bailey
235eecda5e
moved encryption
...
~ moved encryption module to foundation
+ created function to generate shared secrets
2021-08-12 17:42:27 +01:00
michael-bailey
ab1a2f7e77
Update Cargo.toml
...
+ added async crates to foundation
2021-08-12 17:35:17 +01:00
michael-bailey
1e173586f1
Update mod.rs
...
+ added dummy tokio server.
+ added async test for socket sender with no transformers.
2021-08-07 17:20:33 +01:00
michael-bailey
7a0f92510b
renamed socket sender
...
~ renamed socket sender to socket handler
2021-08-06 21:08:18 +01:00
michael-bailey
3dfc99a2d9
removed old encryption module
...
- removed old encryption file in foundation
- removed reference from lib.rs
2021-08-06 21:07:58 +01:00
michael-bailey
9f63f8c2f1
Update encryption.rs
...
~ moved key derivation to separate function
+ added function to test transformer functions
2021-08-06 21:07:19 +01:00
michael-bailey
8f7fd76817
Update encryption.rs
...
+ added function that created encrypt and decrypt functions
+ added transformer function type definition
2021-08-06 20:40:17 +01:00
michael-bailey
312c7bde9f
Update mod.rs
...
+ added custom type for a function vector
+ added vector for sending and receiving
+ added functions to push and pop from the transformation stack.
2021-08-06 17:40:58 +01:00
michael-bailey
85f02e553a
Update mod.rs
...
+ added custom debug message
- removed debug derive
2021-08-06 17:39:38 +01:00
michael-bailey
e6d087b4d8
Converted structs to use sender struct
2021-08-04 23:46:50 +01:00
michael-bailey
fb43ad45fc
Created sender objects
...
+ added StreamMessageSender trait
+ added SocketSender struct
+ added StreamMessageSender implementation
+added new function
+ added new network module to main
2021-08-04 23:46:26 +01:00
michael-bailey
bee9617206
Update Cargo.toml
...
+ added async trait crate
2021-08-04 23:42:59 +01:00
michael-bailey
4e91c4d660
added clone trait to network Messages
2021-08-04 23:42:41 +01:00
michael-bailey
1b53b96645
fixed unused import warning
2021-08-03 22:18:59 +01:00
michael-bailey
127d88cf86
added encryption test
...
+ added openssl elliptic diffie-hellman test to server module
2021-08-03 22:18:59 +01:00
michael-bailey
029e00144b
removed old rust encryption module
2021-08-03 22:15:59 +01: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
0ed2c5a290
added encryption example
2021-07-10 14:03:06 +01:00
michael-bailey
8ebfbb0a70
changed messaegs to include a type property
2021-07-10 14:02:04 +01:00
michael-bailey
614e73b788
replaced duplicate fields
2021-04-25 14:28:39 +01:00
michael-bailey
137ef3d3b1
Adding public key storage
2021-04-23 22:28:32 +00: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
michael bailey
0572d0d0e9
Merge pull request #8 from Mitch161:consolidation-branch
...
Consolidation branch -> development branch
2021-03-30 07:29:41 +01:00
michael-bailey
cf16367d51
removing dead code
2021-03-20 12:38:42 +00:00
michael-bailey
8f3d1549ca
fixed issue with channel blocking
2021-03-18 23:37:48 +00:00
michael-bailey
53ff1858f6
implemented client manager tick function
2021-03-18 23:24:48 +00:00
michael-bailey
d6c4baf556
Implemented client add functionality in the server.
2021-03-18 20:02:56 +00:00
michael-bailey
f3ab1f37da
Added client connecting condition to network manager
2021-03-18 19:55:04 +00:00
michael-bailey
30d9e5ba2d
modified client to multiple params instead of map
2021-03-18 17:03:15 +00:00
michael-bailey
7d749d0de0
Moved TcpListender form Server To NetworkManage.
2021-03-18 16:52:03 +00:00
michael-bailey
436975e3c5
Moved TcpListender form Server To NetworkManage.
2021-03-18 16:42:42 +00:00
michael-bailey
a5eff0bd32
merge server implementation branch
2021-03-18 16:05:27 +00:00
michael-bailey
bb5fbdc43b
removed redundant function
2021-03-18 15:57:34 +00:00
michael-bailey
b53a63fd54
setting up json based message protocol
2021-03-18 11:50:12 +00:00
michael-bailey
19832f0aa1
added basic server messages.
2021-03-18 10:39:11 +00:00
michael-bailey
232effad14
implemented basic connection handling in the server
2021-03-18 10:39:11 +00:00
michael-bailey
a8c37225ae
implemented basic client manager functions for new architecture
2021-03-18 10:39:11 +00:00
michael-bailey
22a0d68255
implemented basic messageing system for clients.
2021-03-18 10:38:46 +00:00
michael-bailey
cd81b1e250
redesigned client for the new exec structure
2021-03-18 10:38:46 +00:00
michael-bailey
db72977d2f
fixing owner structure.
2021-03-18 10:38:46 +00:00
michael-bailey
3ff3e531a1
moving server changes to client manager
2021-03-18 10:38:46 +00:00
michael-bailey
5b9d91e44e
implemented basic connection handling in the server
2021-03-18 10:38:46 +00:00
michael-bailey
1966f80bc6
moving server changes to client manager
2021-03-18 10:38:09 +00:00