710 Commits

Author SHA1 Message Date
M.Scholz
54a10e3045 P2P uebung 2012-11-26 16:41:16 +01:00
lutz
6a2215a491 modified leave method. all nodes are linked circularly. 2012-11-25 18:47:40 +01:00
senft-lap
64b1e0dc04 Implemented "status" cmd to check a nodes neighbors ad hoc. Printing a "new neighbor" message only if the received neighbor really is new. 2012-11-23 16:16:43 +01:00
senft-lap
e363ab4f64 Error prone UI.. a little 2012-11-23 16:15:18 +01:00
senft-lap
d359ccb961 Old leave strategy. 2012-11-23 16:14:39 +01:00
M.Scholz
9c08ffb131 CE, P2P Uebung+ Folien 2012-11-23 09:22:22 +01:00
Denis
939bfd3a38 fixed an issue in Main, where a leaving node wasnt removed from the Node-list 2012-11-22 10:02:14 +01:00
senft-desktop
8062d73901 Having 3 Packages with 1 class each is not exactly how its supposed to be.... 2012-11-21 18:24:10 +01:00
senft-desktop
f946f6a0b9 Forgot a break; in the switch statement 2012-11-21 18:04:37 +01:00
senft-desktop
f37658783b Added a simple UI 2012-11-21 18:01:27 +01:00
M.Scholz
140d359aee don't send neighbor his own reference 2012-11-21 16:26:06 +01:00
senft-lap
4022a6ee82 Merge branch 'master' of mojotrollz.eu:college
Conflicts:
	ws2012/P2P/uebungen/4/src/peer/Node.java
2012-11-21 14:08:32 +01:00
senft-lap
96693166bc Cleanup 2012-11-21 12:25:57 +01:00
senft-lap
af30f1207d Smaller delay 2012-11-21 12:25:43 +01:00
senft-lap
203fa9743f Got rid of IPv6 addresses 2012-11-21 12:24:30 +01:00
M.Scholz
6efc846fb0 ugly workaround for IPv4. any better ideas? 2012-11-21 12:23:20 +01:00
M.Scholz
15f863078b fixed copy+paste 2012-11-21 10:52:33 +01:00
M.Scholz
243088fac5 merge 2012-11-21 10:51:07 +01:00
M.Scholz
43c34c7bec fixed string.split(), fixed indices 2012-11-21 10:49:58 +01:00
Denis
bd184a6cc2 lets create e bigger network ;) 2012-11-20 18:17:15 +01:00
Denis
8771f1ea04 fixed a error in the leave-method, where nodes would get the same new neighbor twice 2012-11-20 18:08:17 +01:00
Denis
269c1e4e1b only the port-number is now important, if a node checks, if he has already the incoming neighbor + fixed some minor stuff 2012-11-20 17:22:58 +01:00
Denis
bf50156ced Merge branch 'master' of mojotrollz.eu:college 2012-11-20 16:11:22 +01:00
Denis
24002e9c35 fixed some issues with a node leaving and sending the new neighbors 2012-11-20 16:11:18 +01:00
M.Scholz
b44d46cf62 optional IPv4 2012-11-20 15:46:17 +01:00
senft-lap
57e66c347e Merge branch 'master' of mojotrollz.eu:college
Conflicts:
	ws2012/P2P/uebungen/4/src/peer/Node.java
2012-11-20 15:08:17 +01:00
senft-lap
acfad4df4d .receive() is now non-blocking, in order to terminate the listen thread 2012-11-20 15:06:21 +01:00
Denis
495d008968 changed a logging message 2012-11-20 15:00:33 +01:00
senft-lap
e68f306568 Sending IPv6 Addr as String. 2012-11-20 14:46:41 +01:00
senft-lap
91a8340c27 Increased buffer size 2012-11-20 14:45:18 +01:00
senft-lap
0e1cff537e Dismissed logfile 2012-11-20 14:40:16 +01:00
senft-lap
9e58c29764 Added delays 2012-11-20 14:22:27 +01:00
senft-lap
cf5369526b Node get added as neighbor 2012-11-20 14:17:31 +01:00
M.Scholz
30a6d7bde2 getLocalAddress -> getLocalSocketAddress ! 2012-11-19 16:13:15 +01:00
senft-lap
fed78ba956 IPv4 specific transfer of adresse 2012-11-19 13:05:15 +01:00
senft-lap
31b2dc68bd Added PING/PONG message types 2012-11-19 13:03:11 +01:00
senft-lap
5f5a3c0913 Adresse transfer when communication neighbors 2012-11-19 12:36:13 +01:00
lutz
a3466c121d IPv4 vs IPv6 2012-11-16 13:12:44 +01:00
senft-lap
303042078c Switched to real network communication, not just calling methods on objects 2012-11-15 20:10:38 +01:00
senft-desktop
a7043d1522 Added ListenThread stub 2012-11-14 09:14:51 +01:00
senft-desktop
dac5fe1615 Added logging 2012-11-14 09:08:28 +01:00
M.Scholz
1137aaed90 merge 2012-11-13 18:02:02 +01:00
M.Scholz
c06d2c7cf0 some improvements 2012-11-13 17:58:53 +01:00
senft-lap
e567ffc0b0 Added MessageType 2012-11-13 16:56:06 +01:00
senft-lap
bed8846407 Merge 2012-11-13 16:35:08 +01:00
senft-lap
809f97de30 Merged "clever" ID creation 2012-11-13 16:30:08 +01:00
M.Scholz
28565562bd P2P Uebung 4 Geruest 2012-11-13 16:22:50 +01:00
M.Scholz
4b714b0512 P2P Folien 2012-11-13 16:22:31 +01:00
M.Scholz
d3152e13da CE Folien 2012-11-13 16:22:22 +01:00
M.Scholz
88ff1e2f27 CE Uebung 4 2012-11-12 17:59:09 +01:00