387a487d83
reintroduce usage of arguments in serverP2P
2020-03-24 14:00:24 +01:00
702fb399c3
return testport in method
2020-03-24 12:11:06 +01:00
d4bcff6f8c
retrieve support for agurments
2020-03-24 11:32:42 +01:00
d0eff567f5
added support for tools/testlegitip
2020-03-23 18:44:23 +01:00
9c5bfc5430
added a method to test if hostnames are legitimate
2020-03-23 18:44:23 +01:00
226520e209
simplified cli usage of server
2020-03-23 18:44:23 +01:00
90872c8f7b
changed a variable in display
2020-03-23 18:44:23 +01:00
2313b6799d
added commentary on default options
2020-03-23 18:44:23 +01:00
f95f4245a5
simplified cli usage of tracker
2020-03-23 18:44:23 +01:00
60e0e3a7da
modified usage help
2020-03-23 18:42:35 +01:00
3edb0bf9e5
aide tracker
2020-03-23 18:42:35 +01:00
1355ef14b1
Fix #40
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-22 16:55:05 +01:00
275eb165b1
Refactoring tracker + server
2020-03-22 14:53:23 +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
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
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
223e512684
refactor servermanagemntudp methods
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good
2020-03-20 17:03:30 +01:00
879164304a
added server help argument
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
c5f63795d0
added logs to the client
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good
2020-03-19 17:49:39 +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
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-19 13:48:39 +01:00
977ff22300
Add missing javadoc
...
This closes #36
2020-03-19 13:30:49 +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
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
c056b083d2
Fix jenkins
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
...
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
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
600ef1b2cd
Fix crash when unexisting subdir
2020-03-04 15:14:18 +01:00
fd5eac9988
Add logLevel
2020-03-04 15:03:23 +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
e6d950d16b
client is able to close the connection, but the server IS NOT
2020-03-02 15:31:37 +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
c17a7e6cd5
Added a choice in ClientP2P to choose TCP transport protocol
2020-02-28 10:41:07 +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
a77de625d6
Edit serialVersionUID in exceptions
2020-01-26 14:59: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
f4e318dfe5
Fix last commit
2020-01-21 19:56:50 +01:00
b3cc441d9e
Factorize code for opening directory
2020-01-21 19:48:46 +01:00
3a27d84690
Add openning functionnality to server
2020-01-21 11:32:01 +01:00
a4bb32bf44
Fix last commit
2020-01-21 11:23:55 +01:00
de96d7b661
Add functionnality openning in finder
2020-01-21 11:21:34 +01:00
db3796c384
Fix upload
2020-01-21 10:57:27 +01:00
f3d47433e1
Update project
2020-01-21 10:55:20 +01:00
72ce99fd6f
Fix NOT FOUND
2020-01-21 10:37:21 +01:00
019d8b321f
Fix listing of files
2020-01-16 13:04:22 +01:00
c1ac428fc6
Fix errors on Directories.java
2020-01-16 12:43:12 +01:00
20fef41d71
Add doc to Directories.java
2020-01-16 12:40:42 +01:00
0e1a451214
Avoid duplication of code
2020-01-16 12:36:05 +01:00
14b7a2b814
Fix last commit
2020-01-15 22:20:27 +01:00
bb1df85273
Add default user data folder for mac
2020-01-15 21:58:11 +01:00
b4927e1994
Fix part of protocol but still bugged
2020-01-15 21:57:48 +01:00
cfadde72f2
Remove test folders
2020-01-14 12:39:18 +01:00
7e50b3874a
Remove .class files and add it to .gitignore
2020-01-14 12:37:46 +01:00
789c0c0257
Remove debugs print
2020-01-14 12:33:21 +01:00
ecc92f79d1
erreurs
2020-01-14 11:55:02 +01:00
572a75e3ae
correction syntaxiques de clientP2P
2020-01-14 11:10:11 +01:00
a326c33124
fix syntax in serverP2P
2020-01-14 10:32:55 +01:00
192f0a2c94
Add client implementation + update doc
2020-01-12 23:29:49 +01:00