473 Commits (main)
 

Author SHA1 Message Date
  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
  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