Commit graph

21 commits

Author SHA1 Message Date
9237649b60 Fix file not being sent (3) 2021-01-06 10:53:41 +01:00
Arnaud Vergnet
63cb83916a Simplify user connection
Extracted handshake phase into separate class.
2021-01-06 08:28:21 +01:00
Arnaud Vergnet
fcb678f4fe use unique ID instead of ip 2021-01-05 22:00:30 +01:00
Arnaud Vergnet
c4b2b55887 Fix self discovery
Check address on broadcast reception and use only ipv4
2020-12-18 10:25:26 +01:00
Arnaud Vergnet
5d85a6061a Make ip to id function static 2020-12-16 12:07:26 +01:00
Arnaud Vergnet
46565951e8 remove logs 2020-12-16 12:06:29 +01:00
965cfdbf19 Handle user connection and disconnection 2020-12-16 11:51:31 +01:00
Arnaud Vergnet
312bbaa5a6 add debug logging 2020-12-16 10:46:48 +01:00
ecf921f91e fix broadcast 2020-12-14 15:03:38 +01:00
733d755c60 fix discovery 2020-12-09 12:16:14 +01:00
e752a5ae73 Fix broadcast to listen before sending 2020-12-09 12:11:32 +01:00
1d979c2dab Convert ActiveUser to PeerUser 2020-12-09 11:38:33 +01:00
fde0d4344b Add a listLocalAddresses and move listBroadcastAddresses to NetUtil 2020-12-07 14:21:55 +01:00
0e8ded05c9 Put id in User, async create and init ActiveUser, make CurrentUser singleton 2020-12-05 00:30:30 +01:00
b75cd6de1a Add ConnectionListener + improve network classes + first work on username change impl 2020-12-02 19:05:53 +01:00
613e580b4c Implement send and receive messages + rework async error handling 2020-12-02 12:02:34 +01:00
1a5a62f11f Add message parameters to discovery method, and add close method 2020-12-02 10:14:07 +01:00
ab5b058498 Implement network discovery methods (working) 2020-11-30 18:18:28 +01:00
659bdd10ec Convert to beans, start implementing functions and rewrite net architecture 2020-11-26 16:18:29 +01:00
Arnaud Vergnet
062880407b chore: use tab instead of spaces 2020-11-23 16:40:57 +01:00
ff0be945cd Create project skeleton from UML class diagram 2020-11-23 16:27:01 +01:00