Commit Graph

865 Commits

Author SHA1 Message Date
nathan
6e665be6b6 removed debug code 2020-09-03 14:45:24 +02:00
nathan
16e68ee952 Fixed unit tests 2020-09-03 14:43:01 +02:00
nathan
c9f725ea2d Fixed race condition when initialize kryo instances during startup 2020-09-03 14:37:09 +02:00
nathan
23ef5e499b Fixed polling 2020-09-03 14:36:24 +02:00
nathan
931b1c4fa1 Fixed unit tests 2020-09-03 14:34:50 +02:00
nathan
aa3540a8bb Fixed GCM reuse error 2020-09-03 11:37:27 +02:00
nathan
28570d92e9 Fixed invalid object test case 2020-09-03 11:15:37 +02:00
nathan
8a8dbda3f5 Tweaked logs 2020-09-03 09:52:57 +02:00
nathan
f35f57bd87 Added extra check for out-of-order RMI registrations 2020-09-03 02:41:10 +02:00
nathan
08a72736b9 cleaned up unittests 2020-09-03 02:40:53 +02:00
nathan
6a590764ff Fixed issues when registering RMI via registerRmi in different orders (rmi-client/rmi-server out-of-order in different ways). 2020-09-03 02:40:32 +02:00
nathan
af36f9a4ff Code polish 2020-09-03 02:39:38 +02:00
nathan
1e0fa51c60 Removed servers from ALWAYS starting the media driver 2020-09-03 01:46:32 +02:00
nathan
2a6c279692 Fixed handshake race condition which resulted in empty messages. Cleaned up code, added more debug info 2020-09-03 01:31:08 +02:00
nathan
b1e92be50b Fixed issues with reverse RMI and having the client register impl classes (instead of the server) 2020-09-03 01:30:30 +02:00
nathan
b5342cd2f8 Changed default term buffers to be even smaller 2020-09-02 16:18:03 +02:00
nathan
07b8b1002a Serialization registration (class, serializer, id, etc) is now only necessary on the server. The client receives the serialization information during the handshake. 2020-09-02 15:03:57 +02:00
nathan
4504f7167e Updated unit tests to only have serialization registration on the server 2020-09-02 15:02:52 +02:00
nathan
23de6725fc Converted java -> kotlin tests 2020-09-02 03:21:09 +02:00
nathan
373b21be66 Added caffeine 2020-09-02 03:20:42 +02:00
nathan
8caef6611c Cleaned up unit tests 2020-09-02 03:20:29 +02:00
nathan
e27fdbb369 Set kryo log level to ERROR 2020-09-02 03:17:01 +02:00
nathan
1acab50ff4 Added option to enable/disable changing LOOPBACK -> IPC connections 2020-09-02 02:51:10 +02:00
nathan
8083d63da0 Term Buffer sizes are now smaller than the default, but only if it wasn't changed externally 2020-09-02 02:50:46 +02:00
nathan
e20f9b91de Added IPC support, filled out more methods. Better support for connect in a nested disconnect callback. Fixed issue with closing connections-with-handshake-errors on the server pending. 2020-09-02 02:39:05 +02:00
nathan
e09fd43e37 Added guarantee of aeron publication log deletion (warning if it cannot delete the file) 2020-09-01 20:36:24 +02:00
nathan
3ade7f229e Fixed threading issue with read/write global kryo 2020-09-01 14:39:18 +02:00
nathan
9a4c79e445 Fixed threading issue with read/write global kryo 2020-09-01 14:38:49 +02:00
nathan
0cf510fd7c Fixed comments 2020-09-01 14:38:06 +02:00
nathan
27be7d996a Code cleanup 2020-09-01 14:37:43 +02:00
nathan
36c805cc2f Renamed class 2020-09-01 09:13:12 +02:00
nathan
780e09dd8d Changed test count for sync 2020-09-01 09:12:58 +02:00
nathan
9ec8f4efe3 Better support for sending RMI objects 2020-09-01 09:12:30 +02:00
nathan
a20c55a864 Added rmi registration order checks 2020-09-01 06:42:09 +02:00
nathan
9a445fe261 Removed unnecessary kryo registration, added spacing 2020-09-01 06:11:52 +02:00
nathan
0cc4630d4d Updated libraries, added annotation scanning, added comments 2020-08-31 14:53:29 +02:00
nathan
32e9a68222 WIP @rmi annotations 2020-08-31 14:52:42 +02:00
nathan
ab2395845b Moved serialization validation to it's own test (it's has nothing to do with RMI), refactored RmiTest 2020-08-30 23:16:09 +02:00
nathan
051f419300 Flipped packed IDs order for creating connection RMI objects. Added better toString() info 2020-08-30 23:13:38 +02:00
nathan
f1fec705b9 Tweaked how the settingsStore types are registered with kryo 2020-08-30 23:12:07 +02:00
nathan
202b201a81 Fixed spacing 2020-08-30 22:27:08 +02:00
nathan
d325cdb5f7 Added edge case for RMI registration 2020-08-28 10:22:25 +02:00
nathan
8ae9b9ddbb Code cleanup 2020-08-28 10:21:54 +02:00
nathan
080a60f85d Fixed RMI comments, code cleanup 2020-08-28 10:20:53 +02:00
nathan
fe5aa1d8a6 RMI cache now emits errors using the notifyError callback 2020-08-28 10:20:15 +02:00
nathan
ffa286c913 Class registration for RMI can now happen "out of order" and can accept with duplicates (which are automatically ignored) 2020-08-28 10:19:20 +02:00
nathan
47919b9214 Serialization class is now open, so it can be replaced/extended as necessary 2020-08-27 19:05:45 +02:00
nathan
39a77c4e65 Fixed issues with client/server onDisconnect messages. Client/server.close() will now wait for all onDisconnect() callbacks to finish before returning from the close() method 2020-08-27 14:00:35 +02:00
nathan
46bee0b977 Cleaned up tests 2020-08-27 13:55:32 +02:00
nathan
59d58f27e8 More conversion to kotlin 2020-08-27 13:46:14 +02:00