Commit Graph

240 Commits

Author SHA1 Message Date
ef5484566e Classes abstraites pour le Serveur
Fix #40
2020-03-22 12:24:59 +01:00
33f1829cdc Update Jenkinsfile to add tracker.jar generation
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-22 09:38:56 +01:00
5f48c9cbc1 Fix #27 (#64)
Fix #27
- [x] Faire un thread qui tous les X secondes (configurable) va comparer les fichiers dispo avec la liste et mettre à jour (penser à le logger). La mise à jour peut s’effectuer en faisant juste une REGISTER REQUEST.
- [x] Télécharger dans le même dossier que celui où on seed
- [x] Mettre les logs dans un dossier pas partagé

Co-authored-by: Louis <louis.royer@univ-tlse3.fr>
2020-03-21 22:30:42 +01:00
e0dca481fb Merge pull request 'tracker' (#48) from tracker into etape4
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Ajout du tracker, correction de bugs, et documentation.
2020-03-21 15:57:20 +01:00
3f21797b09 Client now asks servers to tracker ! 2020-03-21 15:48:18 +01:00
683529b21c Add javadoc on some methods 2020-03-21 14:29:29 +01:00
ad2b796071 Fix tcp 2020-03-20 18:28:57 +01:00
3387b90b14 HostItems dans le server 2020-03-20 18:28:57 +01:00
cc06ccc334 Bind sur localhost 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
6d7fabaf1c Add tracker 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
f1beed30e1 Update doc 2020-03-20 18:23:59 +01:00
f0988e3af3 Add sequence diagrams 2020-03-20 18:23:59 +01:00
d1ae5960a6 Update protocol for #16 2020-03-20 18:23:59 +01:00
ab7af56138 Merge pull request 'refactor servermanagemntudp methods' (#53) from refactorServerManagement into etape4 2020-03-20 18:11:56 +01:00
223e512684 refactor servermanagemntudp methods
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good
2020-03-20 17:03:30 +01:00
1bf7cf9ce2 Merge pull request 'cli' (#52) from cli into etape4
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-20 16:42:22 +01:00
879164304a added server help argument
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good
2020-03-20 16:39:27 +01:00
cfc24354b9 added help argument 2020-03-20 15:57:09 +01:00
8d8ed294e8 Merge branch 'loggerclient' of flavien/Projet_JAVA_P2P_STRI2A into etape4
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-19 17:54:39 +01:00
c5f63795d0 added logs to the client
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good
2020-03-19 17:49:39 +01:00
0ac0eab231 Merge branch 'exceptionsheritage' of flavien/Projet_JAVA_P2P_STRI2A into etape4
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-19 14:55:31 +01:00
2a4ad8316f rename exceptions to accomodate java's nomenclature 2020-03-19 14:55:02 +01:00
cc8997b65b Merge branch 'exceptionsheritage' into etape4 2020-03-19 14:07:56 +01:00
05be51d604 added motherclass for exceptions 2020-03-19 14:05:58 +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
bc4d7b94d5 Merge branch 'documentation' of flavien/Projet_JAVA_P2P_STRI2A into etape4
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
closes #34
2020-03-19 13:36:58 +01:00
e32a52dd69 Merge branch 'documentation' of flavien/Projet_JAVA_P2P_STRI2A into master
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
closes #36
2020-03-19 13:33:57 +01:00
977ff22300 Add missing javadoc
This closes #36
2020-03-19 13:30:49 +01:00
750788c1b3 Merge branch 'servs-multiples' of flavien/Projet_JAVA_P2P_STRI2A into master
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-18 18:57:56 +01:00
9369176432 Fix server start
Fix printing
2020-03-18 18:53:40 +01:00
cb86478764 Merging client and server 2020-03-18 18:08:59 +01:00
87013ceea8 tcp multiple (#32) 2020-03-18 16:29:29 +01:00
4c7fcab67d Improvement multithreads
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-16 16:38:23 +01:00
733767c4de Add mulithreaded UDP client 2020-03-16 15:03:04 +01:00
e46be57b8c Merge branch 'UML' of flavien/Projet_JAVA_P2P_STRI2A into master
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-12 12:08:09 +01:00
js
1b1968dd20 latest class diagram
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-12 11:34:36 +01:00
3be723f90b Merge branch 'WIP-end-etape2' of flavien/Projet_JAVA_P2P_STRI2A into master 2020-03-12 11:04:55 +01:00
c056b083d2 Fix jenkins
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-12 11:03:06 +01:00
f88f5b1d40 Add multiple servers choice, but dl only from one
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
Je suis en train de faire en sorte qu’on télécharge depuis plusieurs
2020-03-11 20:31:13 +01:00
js
11e965acc8 multiple servers impl (does not work yet) 2020-03-11 11:26:53 +01:00
js
c981309ef6 replace the String[] with an arrayList (servList) 2020-03-10 23:58:16 +01:00
js
1ec120c373 add tools to get server list 2020-03-10 23:58:16 +01:00
bc6b94b6a6 Fix jenkins .jar created files
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-10 23:56:20 +01:00
0a93a130e3 Merge branch 'jenkins' of flavien/Projet_JAVA_P2P_STRI2A into master
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-10 18:38:11 +01:00
8cee49394c Add utf-8
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-10 18:35:10 +01:00
11b063709b Remote bin creation (file exists)
Some checks failed
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head There was a failure building this commit
2020-03-10 18:28:31 +01:00