Titouan Rigoudy
|
19034aec43
|
Store room list and privileged users in Client.
|
9 years ago |
Titouan Rigoudy
|
f1beb77e45
|
Rework Packet::read_array_with, add Packet::read_array.
|
9 years ago |
Titouan Rigoudy
|
179d69b1b8
|
Move initial server connection to Handler::new.
|
9 years ago |
Titouan Rigoudy
|
56614ea29f
|
Add Session.vim to .gitignore
|
9 years ago |
Titouan Rigoudy
|
acf4a14914
|
Split protocol and control channels in Client.
|
9 years ago |
Titouan Rigoudy
|
25b80b54e2
|
Add Error type in control module.
|
9 years ago |
Titouan Rigoudy
|
b279b6996c
|
Cleanly shut down websocket when client leaves.
|
9 years ago |
Titouan Rigoudy
|
0b849ce8d2
|
Use Response in IncomingMessage for uniformity.
|
9 years ago |
Titouan Rigoudy
|
df1b4c1973
|
Run client in main thread.
|
9 years ago |
Titouan Rigoudy
|
7bd7b824b7
|
Client now processes protocol and control messages.
|
9 years ago |
Titouan Rigoudy
|
e64240b124
|
Connect Controller to Client.
|
9 years ago |
Titouan Rigoudy
|
e8724a0dcd
|
Add Controller.
|
9 years ago |
Titouan Rigoudy
|
75645a5d0c
|
Clean up some Handler code.
|
9 years ago |
Titouan Rigoudy
|
31408265a1
|
Completely refactor architecture to use multiple threads.
|
9 years ago |
Titouan Rigoudy
|
97a06faa62
|
Start working on control channel.
|
9 years ago |
Titouan Rigoudy
|
87108ae0f7
|
Rename ServerConnection to Client.
|
9 years ago |
Titouan Rigoudy
|
c4a0a36561
|
Add Packet::read_ipv4_addr and read_port.
|
9 years ago |
Titouan Rigoudy
|
5cab350f78
|
Add PeerAddressResponse.
|
9 years ago |
Titouan Rigoudy
|
a0272c1d50
|
Add PeerAddressRequest.
|
9 years ago |
Titouan Rigoudy
|
e6c8338f7e
|
Refactor server code into its own module.
|
9 years ago |
Titouan Rigoudy
|
c12f2d44f0
|
Add SetListenPortRequest.
|
9 years ago |
Titouan Rigoudy
|
25940439d0
|
Sort response structs by alphabetical order.
|
9 years ago |
Titouan Rigoudy
|
5abb77aa72
|
Add ConnectToPeerResponse.
|
9 years ago |
Titouan Rigoudy
|
ec648a1a75
|
Refactor Packet::read_array_with.
|
9 years ago |
Titouan Rigoudy
|
adc4e40566
|
Add PrivilegedUsersResponse.
|
9 years ago |
Titouan Rigoudy
|
170e15ae2a
|
Add Packet::read_array_with.
|
9 years ago |
Titouan Rigoudy
|
1fe2cba5eb
|
Add WishlistIntervalResponse.
|
9 years ago |
Titouan Rigoudy
|
737d6aa5c1
|
Add ParentSpeedRatioResponse and derive Debug for ServerResponse.
|
9 years ago |
Titouan Rigoudy
|
4955bb1840
|
Refactor RoomListResponse parsing.
|
9 years ago |
Titouan Rigoudy
|
5e1c019de8
|
Minor fix to LoginResponse parsing, other tiny cleanups.
|
9 years ago |
Titouan Rigoudy
|
ad6965f934
|
Detect when packets are incompletely parsed.
|
9 years ago |
Titouan Rigoudy
|
536319c8e3
|
Do not crash when server packet fails to parse.
|
9 years ago |
Titouan Rigoudy
|
c2c69a3e1a
|
Add ParentMinSpeedResponse.
|
9 years ago |
Titouan Rigoudy
|
acf7e27d18
|
Change all println's to rather use the logging framework.
|
9 years ago |
Titouan Rigoudy
|
0c77e989d4
|
Clean up warnings.
|
9 years ago |
Titouan Rigoudy
|
2925b81d6f
|
Add RoomListResponse.
|
9 years ago |
Titouan Rigoudy
|
d4ab1f2ae7
|
Add RoomListRequest.
|
9 years ago |
Titouan Rigoudy
|
c779780eac
|
Add WriteToPacket trait.
|
9 years ago |
Titouan Rigoudy
|
ff640b69d9
|
Refactor ServerConnection to implement Handler.
|
9 years ago |
Titouan Rigoudy
|
1177802dbe
|
Refactor ServerConnection to own stream.
|
9 years ago |
Titouan Rigoudy
|
55938b18a5
|
Use try_read instead of read on socket.
|
9 years ago |
Titouan Rigoudy
|
353d926383
|
Refactor proto module.
|
9 years ago |
Titouan Rigoudy
|
c93e2675d0
|
Rename proto::message to proto::server.
|
9 years ago |
Titouan Rigoudy
|
b07fd93219
|
Refactor packet parsing/creating code.
|
9 years ago |
Titouan Rigoudy
|
9e0923ddb9
|
Start parsing messages with generic reusable code. Login works.
|
9 years ago |
Titouan Rigoudy
|
725667cc47
|
Code basic structure for message handling.
Connect to the soulseek server.
|
9 years ago |
Titouan Rigoudy
|
e53ad78bfb
|
Initial commit
|
9 years ago |