Mitch161
9d234b2393
soon to be deleted code
2020-07-18 20:36:20 +01:00
Mitch161
6df560c525
added temp lifetimes
2020-07-18 20:33:09 +01:00
Mitch161
0677a95b61
fixed hashmap formatting
2020-07-18 15:04:45 +01:00
michael-bailey
0903a07cc0
Merge branch 'channel-structure' of https://github.com/mitch161/rust-chat-server into channel-structure
2020-07-17 20:53:47 +01:00
michael-bailey
8a07d278bf
added derive clone
2020-07-17 20:52:28 +01:00
michael-bailey
8981f5c551
Update mod.rs
2020-07-17 20:52:10 +01:00
Mitch161
79e6e425dc
added client command update
...
all clients will now be upadeted with the client command of a new connecting client
2020-07-17 20:49:25 +01:00
Mitch161
1ebde0f0ed
added check for success return message
2020-07-17 20:23:38 +01:00
michael-bailey
b62d32dcd5
Merge branch 'channel-structure' of https://github.com/mitch161/rust-chat-server into channel-structure
2020-07-17 19:51:57 +01:00
michael-bailey
812986fa32
fixed trait issues
2020-07-17 19:51:54 +01:00
michael-bailey
bfd0ee00a8
Update lib.rs
2020-07-17 19:50:37 +01:00
Mitch161
7c1551341d
changed format string to use to string method
2020-07-17 19:40:30 +01:00
Mitch161
4031edbf9e
added beginning to !client: command
...
ive left some comments along side the code as im uncertain as to how messages are being handled now
2020-07-17 19:29:26 +01:00
michael-bailey
226bea4623
fixed lifetime and naming issues
2020-07-16 22:16:16 +01:00
Mitchell
8b78352cc5
added tmp folders and files for V2 system
2020-07-13 21:53:03 +01:00
Mitchell
58577f1298
added commands V2
...
this new enum will replace all old enums making communication between the client and server significantly easier
2020-07-13 21:52:17 +01:00
Mitchell
fbf4e7ddbf
added command functions for channels
2020-07-13 21:51:23 +01:00
Mitchell
e6f1b22782
moved infinite loop back to server struct
2020-07-13 21:50:13 +01:00
Mitchell
69f192393d
tmp fix with channel system
...
removed the sync thread system where every client would wait for each client to finish. New system is completely based of channels and messages sent between threads
2020-07-12 21:47:32 +01:00
Mitchell
1276aaa955
changed ip address and port
2020-07-04 14:03:09 +01:00
Mitch161
c3c1dfb342
Merge pull request #1 from Mitch161/struct-rework
...
Updated rework of files and folders
2020-07-01 12:54:37 +01:00
Mitchell
1d844ff57d
added concurrent libs
2020-06-30 14:26:06 +01:00
Mitchell
520d2b91a0
simplified to starting the server
...
core body of code was moved into the server struct, this function now simply starts the server and defines the concurrent hashmap and queue
2020-06-30 14:25:19 +01:00
Mitchell
d69f8d32fd
temp file for core server actions
2020-06-30 14:24:29 +01:00
Mitchell
889f9899da
added struct for server functionality
...
this struct handles all the servers processing and functionality, as well as details about the server
2020-06-30 14:24:09 +01:00
Mitchell
ad1d8ba81e
contains command.rs code
2020-06-30 14:23:22 +01:00
Mitchell
ef62657571
removed return for client struct
...
the client struct that gets returned from hashmap when removed no longer needs to be passed back up the stack frame as client is now passed by a self reference
2020-06-30 14:22:36 +01:00
Mitchell
35d391eb8a
cleaner implmentation for hashmap additions
2020-06-30 14:21:00 +01:00
Mitchell
5eb3adbe8a
fixed string return format
2020-06-30 14:19:13 +01:00
Mitchell
6e9d04ed35
adjusted ways client communication is handled
2020-06-30 14:18:35 +01:00
Mitchell
65ff36523e
moved into new directory
...
new folders and files made for new project structure, still likely to change
2020-06-30 14:17:23 +01:00
Mitchell
b0e02dd1c1
added two new enums to handle returns
...
commands file cleanup and bug fixes, making code more readable and organized
2020-06-20 20:11:34 +01:00
Mitchell
5ca8dd48f7
info command feature
2020-06-20 15:29:31 +01:00
Mitchell
5a7e27f010
data return fix, now returns a Client type
2020-06-20 14:56:45 +01:00
Mitchell
714b33464c
connect and disconnect features
2020-06-20 14:56:14 +01:00
Mitchell
a4dc149aee
Merge branch 'basic-server-framework' of https://github.com/Mitch161/rust-chat-server into basic-server-framework
2020-06-16 17:38:54 +01:00
Mitchell
15edb7872f
update to clientUpdate command
...
Will not work currently as sync issues exist
2020-06-16 17:37:11 +01:00
michael-bailey
0630c00fa4
Update .gitignore
2020-06-16 12:55:16 +01:00
Mitchell
830e5c9d64
added fetch all clients system
2020-06-07 20:16:45 +01:00
Mitchell
612c25c392
added disconnect command
2020-06-05 13:23:53 +00:00
Mitchell
9a09df6b25
added clientInfo command
2020-06-05 12:43:34 +00:00
Mitchell
2d95678569
seperate modules have been made for commands
2020-06-04 13:51:04 +00:00
Mitchell
317427b836
Merge branch 'basic-server-framework' of https://github.com/Mitch161/rust-chat-server into basic-server-framework
2020-06-04 13:50:05 +00:00
Mitchell
db2443aa74
added modules for commands
...
each file represents a module for that command, which is all handled by the commands.rs file
2020-06-04 13:49:50 +00:00
Mitchell
08e4c1e324
project restructure
2020-06-04 13:49:08 +00:00
Mitchell
b2dd06728c
made cloneable
2020-06-04 13:47:52 +00:00
Mitchell
e4066b96bd
enabled regex
2020-06-04 13:47:20 +00:00
michael bailey
30ab1655c9
Update lib.rs
...
+ added a module for each message string.
2020-06-02 14:06:00 +01:00
Mitchell
2e1d4d3b40
temp fix for struct values
2020-05-16 18:07:09 +00:00
Mitchell
da5df01a95
client object changes
2020-05-16 17:47:21 +00:00