Commit Graph

154 Commits (42e8a26381c1cc61bb2299efe0242384c62428a7)

Author SHA1 Message Date
Flavien Haas 387a487d83 reintroduce usage of arguments in serverP2P 5 years ago
Flavien Haas 702fb399c3 return testport in method 5 years ago
Flavien Haas d4bcff6f8c retrieve support for agurments 5 years ago
Flavien Haas d0eff567f5 added support for tools/testlegitip 5 years ago
Flavien Haas 9c5bfc5430 added a method to test if hostnames are legitimate 5 years ago
Flavien Haas 226520e209 simplified cli usage of server 5 years ago
Flavien Haas 90872c8f7b changed a variable in display 5 years ago
Flavien Haas 2313b6799d added commentary on default options 5 years ago
Flavien Haas f95f4245a5 simplified cli usage of tracker 5 years ago
Flavien Haas 60e0e3a7da modified usage help 5 years ago
Flavien Haas 3edb0bf9e5 aide tracker 5 years ago
Louis Royer 1355ef14b1 Fix #40
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good Details
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
5 years ago
Louis Royer 275eb165b1 Refactoring tracker + server 5 years ago
Louis Royer d1d7993864 Use generics 5 years ago
Louis Royer ef5484566e Classes abstraites pour le Serveur
Fix #40
5 years ago
Louis Royer 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>
5 years ago
Louis Royer 3f21797b09 Client now asks servers to tracker ! 5 years ago
Louis Royer 683529b21c Add javadoc on some methods 5 years ago
Louis Royer ad2b796071 Fix tcp 5 years ago
Louis Royer 3387b90b14 HostItems dans le server 5 years ago
Louis Royer cc06ccc334 Bind sur localhost 5 years ago
Louis Royer 9b6258afd3 Fix warnings / close scanners 5 years ago
Louis Royer a2f505c167 Add Register/Unregister 5 years ago
Louis Royer 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
5 years ago
Louis Royer 6d7fabaf1c Add tracker 5 years ago
Louis Royer 5c89bc6957 Add protocol elements for tracker
Needs to implements tracker now.
5 years ago
Flavien Haas 223e512684 refactor servermanagemntudp methods
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good Details
5 years ago
Flavien Haas 879164304a added server help argument
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good Details
5 years ago
Flavien Haas cfc24354b9 added help argument 5 years ago
Flavien Haas c5f63795d0 added logs to the client
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good Details
5 years ago
Flavien Haas 2a4ad8316f rename exceptions to accomodate java's nomenclature 5 years ago
Flavien Haas cc8997b65b Merge branch 'exceptionsheritage' into etape4 5 years ago
Flavien Haas 05be51d604 added motherclass for exceptions 5 years ago
Flavien Haas 740e25546a refractor exception -> localexception
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good Details
5 years ago
Louis Royer 977ff22300 Add missing javadoc
This closes #36
5 years ago
Louis Royer 9369176432 Fix server start
Fix printing
5 years ago
Flavien Haas cb86478764 Merging client and server 5 years ago
Flavien Haas 87013ceea8 tcp multiple (#32) 5 years ago
Louis Royer 4c7fcab67d Improvement multithreads
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good Details
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
5 years ago
Louis Royer 733767c4de Add mulithreaded UDP client 5 years ago
Louis Royer c056b083d2 Fix jenkins
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good Details
5 years ago
Louis Royer f88f5b1d40 Add multiple servers choice, but dl only from one
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
Je suis en train de faire en sorte qu’on télécharge depuis plusieurs
5 years ago
js 11e965acc8 multiple servers impl (does not work yet) 5 years ago
js c981309ef6 replace the String[] with an arrayList (servList) 5 years ago
js 1ec120c373 add tools to get server list 5 years ago
Louis Royer 44b96d9f2c Refactoring 5 years ago
Louis Royer e621ab159c Début refactoring 5 years ago
Louis Royer 9493a8cb30 Add hashsum 5 years ago
Louis Royer 710ce03921 Add hashes 5 years ago
Louis Royer 600ef1b2cd Fix crash when unexisting subdir 5 years ago
Louis Royer fd5eac9988 Add logLevel 5 years ago
Louis Royer e947fc7c46 fixes #18 5 years ago
Louis Royer 11901db822 Fixes #19, Fixes #13 5 years ago
Flavien Haas e6d950d16b client is able to close the connection, but the server IS NOT 5 years ago
Louis Royer 11fcaa25ea Add TCP support
Fixes #7
5 years ago
Louis Royer b6351d30d3 Change to ProtocolP2PPacket, should be easier to implement tcp 5 years ago
Flavien Haas c17a7e6cd5 Added a choice in ClientP2P to choose TCP transport protocol 5 years ago
Louis Royer d01bbd85f2 Load PartialContents
Fixes #9
5 years ago
Louis Royer 868d657317 Change protocol version 5 years ago
js 1e979a5fc1 add doc to checksum 5 years ago
Louis Royer 460964bd6e Fix bug in BytesArrayTools reading 5 years ago
js 859c9146d9 Correction bugs compil checksum 5 years ago
js 9530ad1004 Debut checksum 5 years ago
Louis Royer a77de625d6 Edit serialVersionUID in exceptions 5 years ago
Louis Royer d33d9bf624 Add empty file error code 5 years ago
Louis Royer 648cb12953 Test & debug
Transfert de fichier réalisé !!
5 years ago
Louis Royer 2d20357150 Implement ServerManagement and ClientManagement 5 years ago
Louis Royer 4fec744616 End of protocol implementation 5 years ago
Louis Royer 462b376eee Add send + receive methods 5 years ago
Louis Royer eeb22e74cc FileList is done 5 years ago
Louis Royer 2afb87303f Fix all errors and all warnings 5 years ago
Louis Royer 5eb7e0deab Refactoring + implementation of some methods 5 years ago
Louis Royer c3b8c2c5e0 Update protocol classes modelisation 5 years ago
Louis Royer 6e2e5451df Add algorithm but did not implement it 5 years ago
Louis Royer 0470a67f0f Add documentation 5 years ago
Louis Royer 04457fdac5 Factorization of setPayloadSize and getPayloadSize 5 years ago
Louis Royer 855e4ed73e Update RequestResponse codes 5 years ago
Louis Royer 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).
5 years ago
Louis Royer f4e318dfe5 Fix last commit 5 years ago
Louis Royer b3cc441d9e Factorize code for opening directory 5 years ago
Louis Royer 3a27d84690 Add openning functionnality to server 5 years ago
Louis Royer a4bb32bf44 Fix last commit 5 years ago
Louis Royer de96d7b661 Add functionnality openning in finder 5 years ago
Louis Royer db3796c384 Fix upload 5 years ago
Louis Royer f3d47433e1 Update project 5 years ago
Louis Royer 72ce99fd6f Fix NOT FOUND 5 years ago
Louis Royer 019d8b321f Fix listing of files 5 years ago
Louis Royer c1ac428fc6 Fix errors on Directories.java 5 years ago
Louis Royer 20fef41d71 Add doc to Directories.java 5 years ago
Louis Royer 0e1a451214 Avoid duplication of code 5 years ago
Louis Royer 14b7a2b814 Fix last commit 5 years ago
Louis Royer bb1df85273 Add default user data folder for mac 5 years ago
Louis Royer b4927e1994 Fix part of protocol but still bugged 5 years ago
Louis Royer cfadde72f2 Remove test folders 5 years ago
Louis Royer 7e50b3874a Remove .class files and add it to .gitignore 5 years ago
Louis Royer 789c0c0257 Remove debugs print 5 years ago
Flavien Haas ecc92f79d1 erreurs 5 years ago
Flavien Haas 572a75e3ae correction syntaxiques de clientP2P 5 years ago
Flavien Haas a326c33124 fix syntax in serverP2P 5 years ago
Louis Royer 192f0a2c94 Add client implementation + update doc 5 years ago