400d0760b6
Better socket cleanup for ActiveThread
2016-03-28 19:00:22 -04:00
0393d99c09
Change to unit test so that it doesn't require the setup of multiple loopback devices.
...
Instead of using addresses in the format of `"127.0.0." + i` it now instead uses a first address of 127.0.0.1 with variable ports in the form of `50000 + i`. This way straight out of the repo you can run the tests, and to some degree achieves the same level of functional testing.
Also added a small additional bit of debug logging in `GossipService` as well as some `INFO` logging in the test - as I figure it's a test that should be suitable.
2016-01-30 14:43:39 +11:00
80bbccbd68
Logging cleanup
2016-01-01 18:27:11 -05:00
b18821d41e
Fix indentation
2015-02-21 19:17:15 -05:00
9c3cbf3436
add comments about id
2015-02-21 19:07:32 -05:00
4aba10d2c3
Small cleanup
2015-02-21 15:48:03 -05:00
7ce0700798
Callback
2015-02-15 23:24:18 -05:00
a1c241b780
Changed live and dead methods to return immutable lists. changed the underlying datastructure to be a map as opposed to two list
2015-02-15 18:57:06 -05:00
a94ce621db
Add a logger
2015-01-17 18:35:45 -05:00
17f1ad6f4f
Apply formatting
2015-01-17 18:21:57 -05:00
4506fe4a79
Format
2015-01-17 18:17:38 -05:00
6d70b28e82
Dos2unix this joint
2015-01-17 18:15:40 -05:00
6565b03192
Keep references to threads and shut them down more properly
2015-01-12 22:41:21 -05:00
172789f312
Shut down faster
2015-01-12 20:04:42 -05:00
61332bfbe7
fix gossiping port as id
2015-01-12 10:46:38 -05:00
4245908b38
Add id field
2015-01-12 09:35:22 -05:00
980e3f51e9
Added log4j logger and removed obvious comments
2015-01-09 14:32:30 -05:00
bf5b777808
added a unit test
2015-01-09 13:20:00 -05:00
844b827dc6
Correcting gossipper so it only binds to a single host/port rather than all
2015-01-09 12:27:55 -05:00
961d93d13b
Throw expection
2015-01-09 12:13:41 -05:00
ab5ceac638
Use byte buffer
2015-01-09 11:38:15 -05:00
4edc7738ec
Initial code merge
2015-01-09 11:33:54 -05:00