Commit Graph

44 Commits

Author SHA1 Message Date
65c44569d0 Fix #54 (#100)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #54 and fix UDP packets max size
2020-04-02 00:55:38 +02:00
e02386453b Update server to punish clients
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good
2020-03-28 19:43:33 +01:00
c81f5d2e5a Fix #41
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good
2020-03-27 18:41:27 +01:00
77655cb828 Add DENIED protocol element 2020-03-27 18:00:06 +01:00
d9c4c8ba40 Fix off by 1 lengths; fix debug color 2020-03-27 17:40:58 +01:00
d6fbfa6683 Update Payload and protocolP2P packet to allow ratio 2020-03-27 17:10:09 +01:00
5fa160d98d Add classes for ratio 2020-03-27 16:59:17 +01:00
c5e8a7df39 Changes to LoadRequest 2020-03-27 16:22:42 +01:00
d1d7993864 Use generics 2020-03-22 13:44:08 +01:00
ef5484566e Classes abstraites pour le Serveur
Fix #40
2020-03-22 12:24:59 +01:00
ad2b796071 Fix tcp 2020-03-20 18:28:57 +01:00
9b6258afd3 Fix warnings / close scanners 2020-03-20 18:28:57 +01:00
a2f505c167 Add Register/Unregister 2020-03-20 18:23:59 +01:00
07d9276232 Changes in protocol
À implémenter: Register + Unregister dans protocolP2P.

Encore des erreurs:
- [UDP] ICMP Port unreachable, c’est parce qu’on essaie de
se connecter à un port qui est fermé. c’est pour ça qu’il faut donner le
port dans register et dans unregister (sinon on a le mauvais HostItem).
- [TCP] une autre erreur que je corrigerai demain
2020-03-20 18:23:59 +01:00
5c89bc6957 Add protocol elements for tracker
Needs to implements tracker now.
2020-03-20 18:23:59 +01:00
740e25546a refractor exception -> localexception
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-19 13:48:39 +01:00
44b96d9f2c Refactoring 2020-03-05 16:38:33 +01:00
e621ab159c Début refactoring 2020-03-05 09:38:36 +01:00
9493a8cb30 Add hashsum 2020-03-04 22:29:54 +01:00
710ce03921 Add hashes 2020-03-04 17:40:21 +01:00
e947fc7c46 fixes #18 2020-03-03 19:30:04 +01:00
11901db822 Fixes #19, Fixes #13 2020-03-03 16:39:19 +01:00
11fcaa25ea Add TCP support
Fixes #7
2020-02-29 17:01:52 +01:00
b6351d30d3 Change to ProtocolP2PPacket, should be easier to implement tcp 2020-02-29 17:01:52 +01:00
d01bbd85f2 Load PartialContents
Fixes #9
2020-02-26 18:57:18 +01:00
868d657317 Change protocol version 2020-02-26 10:16:03 +01:00
js
1e979a5fc1 add doc to checksum 2020-02-03 15:19:45 +01:00
460964bd6e Fix bug in BytesArrayTools reading 2020-02-03 14:33:58 +01:00
js
859c9146d9 Correction bugs compil checksum 2020-02-03 14:06:21 +01:00
js
9530ad1004 Debut checksum 2020-02-01 09:36:25 +01:00
d33d9bf624 Add empty file error code 2020-01-25 21:25:36 +01:00
648cb12953 Test & debug
Transfert de fichier réalisé !!
2020-01-25 20:04:01 +01:00
2d20357150 Implement ServerManagement and ClientManagement 2020-01-25 19:34:23 +01:00
4fec744616 End of protocol implementation 2020-01-23 17:38:26 +01:00
462b376eee Add send + receive methods 2020-01-23 17:21:23 +01:00
eeb22e74cc FileList is done 2020-01-23 16:34:10 +01:00
2afb87303f Fix all errors and all warnings 2020-01-23 15:54:27 +01:00
5eb7e0deab Refactoring + implementation of some methods 2020-01-23 12:26:44 +01:00
c3b8c2c5e0 Update protocol classes modelisation 2020-01-23 11:38:30 +01:00
6e2e5451df Add algorithm but did not implement it 2020-01-22 17:05:45 +01:00
0470a67f0f Add documentation 2020-01-22 13:43:25 +01:00
04457fdac5 Factorization of setPayloadSize and getPayloadSize 2020-01-22 13:13:41 +01:00
855e4ed73e Update RequestResponse codes 2020-01-22 13:02:03 +01:00
026008473a Début de l’implémentation du protocole binaire
Reste des TODO dans FileList.java et dans FilePart.java + la
documentation à faire.

Ça ne compile pas encore, et c’est normal (à cause des TODOs).
2020-01-21 23:49:13 +01:00