senft-desktop
|
d820dc1bd8
|
Decreased ack timeout. Takes too long when many messages get lost (e.g. when 100 nodes leave at the same time)
|
2012-11-29 18:22:31 +01:00 |
|
senft-desktop
|
ccc4d2590d
|
Merge branch 'master' of mojotrollz.eu:college
|
2012-11-29 18:06:38 +01:00 |
|
senft-desktop
|
b8656a57b6
|
Moved UDPListen to own thread
|
2012-11-29 18:05:45 +01:00 |
|
Denis
|
7c9396d62e
|
Added new Class to generate and remove a certain number of nodes randomly
|
2012-11-29 17:48:13 +01:00 |
|
senft-desktop
|
1a61fdab0e
|
Broadcast packets are now broadcasted by receiving nodes
|
2012-11-29 17:40:29 +01:00 |
|
senft-desktop
|
ad5323cfaa
|
Reused addrToBytes
|
2012-11-29 17:32:28 +01:00 |
|
senft-desktop
|
aff1784327
|
Added broadcast sending [no answer so far]
|
2012-11-29 17:12:41 +01:00 |
|
senft-desktop
|
82326cad9a
|
Added new msg types
|
2012-11-29 16:30:27 +01:00 |
|
senft-desktop
|
11c3c60a8e
|
Changed visibility of send methods.
|
2012-11-29 16:30:13 +01:00 |
|
senft-desktop
|
52aa64b200
|
Wait for all acks before leaving
|
2012-11-29 16:00:49 +01:00 |
|
senft-desktop
|
eea5415f2f
|
Added TimeoutThread for acks and resending of not-acknowledged msgs
|
2012-11-28 20:02:30 +01:00 |
|
senft-lap
|
ec37895f80
|
Start Listen Thread
|
2012-11-28 09:52:52 +01:00 |
|
senft-desktop
|
57617e3156
|
Naming conventions... weil "readability ist das wichtigste ueberhaupt" ;)
|
2012-11-28 08:48:47 +01:00 |
|
|
|
d3638f0f26
|
fixed and sorted p2p. Seperate functions for Send_ and Receive_, warning fixes, netbeans configuration
|
2012-11-28 00:24:24 +01:00 |
|
senft-lap
|
9972e5ddfe
|
Extracted ack-checking
|
2012-11-27 16:58:24 +01:00 |
|
senft-lap
|
50b8614723
|
Extracted getNeighborId()
|
2012-11-27 16:47:33 +01:00 |
|
senft-lap
|
15bdd8a483
|
Extracted method for sending acks
|
2012-11-27 16:39:59 +01:00 |
|
senft-lap
|
0b9810aa62
|
putAddrInBuf() -> sendAddrTo()
|
2012-11-27 16:29:16 +01:00 |
|
senft-lap
|
ccd2885c69
|
Forgot to push new Class Ack
|
2012-11-27 16:21:54 +01:00 |
|
senft-lap
|
cc035d910a
|
Added acks
|
2012-11-27 15:50:50 +01:00 |
|
M.Scholz
|
1eb1055dcf
|
P2P final solution
|
2012-11-26 18:39:55 +01:00 |
|
M.Scholz
|
4cd840154b
|
P2P Uebung fertig
|
2012-11-26 18:27:29 +01:00 |
|
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 |
|