Titouan Rigoudy
|
92c30a6c6d
|
Introduce bytes crate, use it for Proto{De,En}code{,r}.
|
7 years ago |
Titouan Rigoudy
|
87a6543cb9
|
Add vector serialization test to proto codec.
|
8 years ago |
Titouan Rigoudy
|
13a4ff6fa5
|
Add proto::codec module with encoding and decoding for basic types.
|
8 years ago |
Titouan Rigoudy
|
39e1ddbbed
|
Updated mio and ws-rs and fixed compile errors.
|
8 years ago |
Titouan Rigoudy
|
a7b7f6bb97
|
Add bare-bones listening socket.
|
9 years ago |
Titouan Rigoudy
|
4bdab9bd32
|
Add FileSearchRequest, Response.
|
9 years ago |
Titouan Rigoudy
|
538578233f
|
Add UserListRequest and RoomLeaveResponse struct.
|
9 years ago |
Titouan Rigoudy
|
332a654a87
|
Implement most of the NAT traversal protocol, still no listening port.
|
9 years ago |
Titouan Rigoudy
|
772e03b2e7
|
Heavily refactor peer code to detect failed connections.
|
9 years ago |
Titouan Rigoudy
|
a5f72b2ff1
|
Rename ConnectToPeer et al. to PeerConnect et al.
|
9 years ago |
Titouan Rigoudy
|
2ad5f19850
|
Add basic communication with peers.
|
9 years ago |
Titouan Rigoudy
|
3955246870
|
Add ability to open connections to peers.
|
9 years ago |
Titouan Rigoudy
|
57950f7625
|
Move proto::Request/Response to proto::handler.
|
9 years ago |
Titouan Rigoudy
|
6949682662
|
Do not glob import proto::server in client.
|
9 years ago |
Titouan Rigoudy
|
fe35552fa5
|
Minor cleanup.
|
9 years ago |
Titouan Rigoudy
|
c65910a221
|
Notify controller when users join/leave rooms.
|
9 years ago |
Titouan Rigoudy
|
12e7e01009
|
Add UserInfoResponse, both proto and control sides.
|
9 years ago |
Titouan Rigoudy
|
f1eb221e88
|
Handle RoomTickersResponse.
|
9 years ago |
Titouan Rigoudy
|
97e8874f8c
|
Add get_strict and get_mut_strict to Room.
|
9 years ago |
Titouan Rigoudy
|
c82c6d4033
|
Move Parser to proto::packet.
|
9 years ago |
Titouan Rigoudy
|
82b4f36da0
|
Change WriteToPacket signature to use &self.
|
9 years ago |
Titouan Rigoudy
|
8ddaf1e4e3
|
Move SendPacket out of Parser and into Stream.
|
9 years ago |
Titouan Rigoudy
|
2c7b0bb2bc
|
Change Packets to not special-case the code header.
|
9 years ago |
Titouan Rigoudy
|
ea5afeb51a
|
Move entire read/write/notify handling from Handler to Stream.
|
9 years ago |
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 |