This website requires JavaScript.
8d59b1451a
Added sanity check for length of string and corrected -2 to -1.
main
WickedJack99
2024-04-22 22:00:34 +02:00
fcd527160c
Added comments and corrected some mistakes.
WickedJack99
2024-04-22 21:59:42 +02:00
b7c51b4b21
Removed some Method chaining.
WickedJack99
2024-04-22 21:58:22 +02:00
8f7d0afef4
Added toString of online state.
WickedJack99
2024-04-22 21:57:32 +02:00
6fff16a8ba
Added some glow up to cli.
WickedJack99
2024-04-22 21:57:08 +02:00
1b18713d06
Updated functionality to add files into filelist of new peer. (I know it's not beautiful but atm time is limited)
WickedJack99
2024-04-22 21:56:45 +02:00
cb63c6e9ef
Updated gitignore.
WickedJack99
2024-04-22 21:54:58 +02:00
f515c3b8a2
Updated gitignore.
WickedJack99
2024-04-22 16:07:50 +02:00
3c1284fde9
Removed unused import.
WickedJack99
2024-04-22 16:05:14 +02:00
180446a294
Added message in case of timeout for user feedback.
WickedJack99
2024-04-22 16:02:04 +02:00
324cdaf3a1
Added message types to enum.
WickedJack99
2024-04-22 16:01:38 +02:00
32f972b739
Added Peer notification sendable and requestable.
WickedJack99
2024-04-22 16:01:21 +02:00
9b61971e78
Added PeerJoined sendable and requestable.
WickedJack99
2024-04-22 15:58:53 +02:00
c1364d09d7
Renamed class to a more suitable name.
WickedJack99
2024-04-22 15:58:16 +02:00
ab4d1f37b0
Added Leave sendable and requestable.
WickedJack99
2024-04-22 15:57:34 +02:00
b38696e75a
Since split needs regex, added function that returns regex according to systems file separator.
WickedJack99
2024-04-22 15:57:05 +02:00
1986792a27
Added message parsing for join and leave messages.
WickedJack99
2024-04-22 15:56:23 +02:00
3d10282983
Added Join and Leave command.
WickedJack99
2024-04-22 15:55:41 +02:00
5d15c40cba
Added JoinRequest sendable und requestable.
WickedJack99
2024-04-22 15:55:16 +02:00
ee6ba32f87
Ui stuff
version-0-0-1
WickedJack99
2024-04-15 10:20:13 +02:00
f6881bacca
Moved getSocket from Main to NetworkController.
WickedJack99
2024-04-08 12:21:14 +02:00
5317cc3e85
added ignored files, updated readme.
WickedJack99
2024-04-08 12:16:34 +02:00
eb01e57fd9
Added author
WickedJack99
2024-04-07 12:19:33 +02:00
a226159df8
Added readme.md
WickedJack99
2024-04-07 12:06:53 +02:00
0beec0dc61
Removed unused imports.
WickedJack99
2024-04-07 12:02:08 +02:00
83c1858f65
Replaced functionality with method if FileReaderWriter.
WickedJack99
2024-04-07 12:01:05 +02:00
b603f297f7
Replaced code since there is now a method updatePeer to add information to peer.
WickedJack99
2024-04-07 12:00:38 +02:00
c00982c17c
Correcting mistake, was adding to send queue at wrong request.
WickedJack99
2024-04-07 11:59:49 +02:00
f79527c16b
Added nullcheck and moved functionality to ReceivedData class.
WickedJack99
2024-04-07 11:57:26 +02:00
7d2a68b439
Moved initialization of receiveBuffer, because of mistake, that old data remained in it.
WickedJack99
2024-04-07 11:56:42 +02:00
e647f69acb
Added function to convert to JSONObject at ReceivedData class.
WickedJack99
2024-04-07 11:55:52 +02:00
33ea792d5e
Changed output of errors from out to err.
WickedJack99
2024-04-07 11:55:14 +02:00
af69ffd0e7
Added command to add a peer to the peerlist.
WickedJack99
2024-04-07 11:54:15 +02:00
7dbfbaec6d
Added functionality to update ones peer file list.
WickedJack99
2024-04-07 11:53:43 +02:00
d43abad0cb
Removed test peers from config init string.
WickedJack99
2024-04-07 11:52:49 +02:00
ffe7b2b129
Added null check.
WickedJack99
2024-04-06 22:13:55 +02:00
66dce4d8a6
Added build information for fat jar.
WickedJack99
2024-04-06 22:13:40 +02:00
8931a4eed0
Removed test print for command.
WickedJack99
2024-04-06 22:13:23 +02:00
b0e75acc59
Added build instructions to maven file.
WickedJack99
2024-04-06 22:02:47 +02:00
fc90a0febf
Moved get first and last 20 bytes to FileReaderWriter class.
WickedJack99
2024-04-06 21:54:50 +02:00
bd63dc96e1
Added equals for Peer class.
WickedJack99
2024-04-06 21:54:14 +02:00
b8b4407590
Added functionality to get file content.
WickedJack99
2024-04-06 21:53:55 +02:00
108197d2df
Added method to check if file exists, to read String from file and get first and last 20 byte.
WickedJack99
2024-04-06 21:52:44 +02:00
5135212555
Created method, that return first and last 20 chars of a string.
WickedJack99
2024-04-06 21:06:22 +02:00
564d9c8e96
Added functionality to read content from file and send it to queue for sending to the peer that requested it.
WickedJack99
2024-04-06 20:59:35 +02:00
7a71004e22
Removed unecessary import.
WickedJack99
2024-04-06 20:58:38 +02:00
50e69ba4ba
Replaced paths with constants.
WickedJack99
2024-04-06 20:42:32 +02:00
6443258398
Added joblist attribute.
WickedJack99
2024-04-06 20:41:51 +02:00
53e859704a
Changed enum names and added reference to joblist.
WickedJack99
2024-04-06 20:41:30 +02:00
930fec8efc
Changed type of file list to map which maps key filename on value filepath.
WickedJack99
2024-04-06 20:27:22 +02:00
7a70587427
Removed class, since FileReaderWriter fulfills this task now.
WickedJack99
2024-04-06 20:26:35 +02:00
226d05f871
Added updating this peer at config after setting ip and port.
WickedJack99
2024-04-06 20:26:04 +02:00
01ec9be2d5
Added ShowNodes, ShowFiles and PublishFile functionality.
WickedJack99
2024-04-06 20:24:59 +02:00
7988a920dc
Added unknown online state.
WickedJack99
2024-04-06 20:24:13 +02:00
002c56a3f2
Added reading from and writing to config file.
WickedJack99
2024-04-06 20:23:53 +02:00
46ccf30724
Timeout related classes and functionality added.
WickedJack99
2024-04-06 20:23:15 +02:00
17cf6041da
Removed .peers.json since it now gets automatically generated.
WickedJack99
2024-04-06 16:50:15 +02:00
71dd04ce1f
File to administrate centralized constants.
WickedJack99
2024-04-04 22:14:16 +02:00
7cee82a5c3
Added function to create peer config file.
WickedJack99
2024-04-04 22:13:42 +02:00
aa5a71ac05
Moved functionality of getting ip and port from user from InputThread to main.
WickedJack99
2024-04-04 22:11:50 +02:00
e3275d6485
Port check returns now directly DatagramSocket at success instead of boolean.
WickedJack99
2024-04-04 22:09:33 +02:00
3178a86631
Added automatically created dir.
WickedJack99
2024-04-04 21:07:48 +02:00
cd716357ce
Changed peers file to hidden file type.
WickedJack99
2024-04-04 20:53:46 +02:00
2fe7df43ab
Changed package name from java.src to vslab1.src because java not allowed as name at compiling stage (upsi xD).
WickedJack99
2024-04-04 19:32:57 +02:00
674ae83178
Peersinformation json file.
WickedJack99
2024-04-01 17:28:26 +02:00
bc0282c851
Receive part classes.
WickedJack99
2024-04-01 17:28:01 +02:00
7b91cd7498
Class with methods to check if enterde ip and port are valid.
WickedJack99
2024-04-01 17:27:37 +02:00
2e44d0efcf
Peer online state enum.
WickedJack99
2024-04-01 17:27:07 +02:00
eb2e96b107
Peer class related.
WickedJack99
2024-04-01 17:26:53 +02:00
d6b840e485
TODO Timeout Handler class.
WickedJack99
2024-04-01 17:26:06 +02:00
b8c67f7a08
Threads and interface Terminatable.
WickedJack99
2024-04-01 17:25:36 +02:00
9bba1d20b4
Classes part of request logic.
WickedJack99
2024-04-01 17:25:04 +02:00
d8a6174a9d
Classes part of sending logic.
WickedJack99
2024-04-01 17:23:55 +02:00
dbd1294323
Enum for message types
WickedJack99
2024-04-01 17:22:09 +02:00
aab743aa2f
Main program
WickedJack99
2024-04-01 17:21:34 +02:00
3344ee4770
maven file
WickedJack99
2024-04-01 17:21:15 +02:00
e8f4c9e911
gitignore file
WickedJack99
2024-04-01 17:20:57 +02:00