Titouan Rigoudy
|
88d9b46726
|
Split PacketStream into Stream and Parser.
|
9 years ago |
Titouan Rigoudy
|
c163a065c3
|
Move PacketStream to proto::stream.
|
9 years ago |
Titouan Rigoudy
|
1caed415af
|
Use read_value and write_value in packet read/write macros.
|
9 years ago |
Titouan Rigoudy
|
0bd1485296
|
Split MutPacket out of Packet, add OutBuf.
|
9 years ago |
Titouan Rigoudy
|
5d47c1d711
|
Fix potential source of panics in Client::send_to_controller.
|
9 years ago |
Titouan Rigoudy
|
648b99a3ca
|
Refactor proto::handler, add Agent.
|
9 years ago |
Titouan Rigoudy
|
16f10d1083
|
Move handler to proto module.
|
9 years ago |
Titouan Rigoudy
|
407f094306
|
Remove useless result module.
|
9 years ago |
Titouan Rigoudy
|
5db8544d81
|
Switch from websocket crate to ws crate.
|
9 years ago |
Titouan Rigoudy
|
3a7715a33f
|
Fix typo.
|
9 years ago |
Titouan Rigoudy
|
a44713473a
|
Remove read/write_port and comment proto::packet.
|
9 years ago |
Titouan Rigoudy
|
d59ac09ca0
|
Use ReadFromPacket and WriteToPacket traits to simplify packet I/O.
|
9 years ago |
Titouan Rigoudy
|
402e5a7619
|
Rename FromPacket to ReadFromPacket and move traits to packet.
|
9 years ago |
Titouan Rigoudy
|
0ee0acc2fb
|
Decode and encode strings as ISO-8859-1, not UTF-8.
|
9 years ago |
Titouan Rigoudy
|
a5654eddc9
|
Add RoomTickersResponse.
|
9 years ago |
Titouan Rigoudy
|
04d6713ef1
|
Use new try_to_packet! macro in ServerRequest::to_packet.
|
9 years ago |
Titouan Rigoudy
|
083459755e
|
Use new try_from_packet! macro in ServerResponse::from_packet.
|
9 years ago |
Titouan Rigoudy
|
5b42c64f5a
|
Rename UserJoinedRoom to RoomUserJoined.
|
9 years ago |
Titouan Rigoudy
|
4efd653431
|
Add RoomUserLeftResponse.
|
9 years ago |
Titouan Rigoudy
|
2139509bac
|
Refactor RoomNotFoundError into room::Error enum, fix joining/leaving mechanisms.
|
9 years ago |
Titouan Rigoudy
|
cee0790b53
|
Use RoomNotFoundError for all RoomMap manipulations.
|
9 years ago |
Titouan Rigoudy
|
08a5b00551
|
Add RoomNotFoundError, use it for RoomMap::join.
|
9 years ago |
Titouan Rigoudy
|
99f298f0c8
|
Add proto::UserNotFoundRequest/Response.
|
9 years ago |
Titouan Rigoudy
|
99d5f286b3
|
Add control::RoomLeaveRequest/Response and handle them.
|
9 years ago |
Titouan Rigoudy
|
65c437a022
|
Add RoomLeaveResponse/Request, unhandled as yet.
|
9 years ago |
Titouan Rigoudy
|
8617a4a919
|
Remove dependency on control module in user module.
|
9 years ago |
Titouan Rigoudy
|
164ef67336
|
Remove unused imports.
|
9 years ago |
Titouan Rigoudy
|
d45193cc78
|
Rename JoinRoom to RoomJoin.
|
9 years ago |
Titouan Rigoudy
|
0faa323300
|
Rename SayRoom to RoomMessage.
|
9 years ago |
Titouan Rigoudy
|
92e3db274d
|
Store received messages, refactor joining code into room module.
|
9 years ago |
Titouan Rigoudy
|
16b9936f1a
|
Handle SayRoomRequest and Response.
|
9 years ago |
Titouan Rigoudy
|
b50cc29d58
|
Add proto::server::SayRoom{Request, Response}.
|
9 years ago |
Titouan Rigoudy
|
c232855047
|
Handle UserJoinedRoomResponse correctly.
|
9 years ago |
Titouan Rigoudy
|
538bac8e9e
|
Better doc comment for UserMap::insert.
|
9 years ago |
Titouan Rigoudy
|
f0a205a49b
|
Add UserJoinedRoomResponse, still unhandled.
|
9 years ago |
Titouan Rigoudy
|
bac9a1f351
|
Handle JoinRoomResponse.
|
9 years ago |
Titouan Rigoudy
|
e65e457eb5
|
Add member fields to Room struct.
|
9 years ago |
Titouan Rigoudy
|
6047e55c07
|
Zip together JoinRoomResponse's user_names and user_infos.
|
9 years ago |
Titouan Rigoudy
|
c4c293056e
|
Add country code to User struct.
|
9 years ago |
Titouan Rigoudy
|
9a5522f55d
|
Finish JoinRoomResponse::from_packet.
|
9 years ago |
Titouan Rigoudy
|
56c170c119
|
Refactor Error into result module, use it.
|
9 years ago |
Titouan Rigoudy
|
df091c884c
|
Log when we join a room.
|
9 years ago |
Titouan Rigoudy
|
df3c24011c
|
Start fleshing out UserMap.
|
9 years ago |
Titouan Rigoudy
|
2d2cc9851d
|
Add preliminary support for joining rooms.
|
9 years ago |
Titouan Rigoudy
|
58d5840d1b
|
Comment RoomMap.
|
9 years ago |
Titouan Rigoudy
|
dec759a475
|
Comment control::request and control::response.
|
9 years ago |
Titouan Rigoudy
|
7285cf51c9
|
Add RoomMap, Client::server_send, Client::control_send.
|
9 years ago |
Titouan Rigoudy
|
dd95fd80bc
|
Add comments to room module, rename RoomKind to Visibility.
|
9 years ago |
Titouan Rigoudy
|
4eca84f468
|
Add {Connect, Disconnect}Notification.
|
9 years ago |
Titouan Rigoudy
|
6571960db1
|
Add FromPacket trait for uniformity.
|
9 years ago |