Commit Graph

33 Commits

Author SHA1 Message Date
Robinson
d4c70c4c1f
Updated unit tests to more aggressively check if aeron is running on startup 2023-06-29 19:26:27 +02:00
Robinson
55604c679c
Moved port from configuration file to API call for connect() and bind() 2023-06-26 19:28:55 +02:00
Robinson
a81e5316c7
updated unit tests 2023-06-25 17:25:29 +02:00
Robinson
78208fcecb
waitForThreads will wait the default timeout 2023-06-18 19:41:57 +02:00
Robinson
e35cf8afe4
Updated unit tests 2023-05-28 18:41:46 +02:00
Robinson
d3b0964b61
Cleaned up unit tests 2023-03-17 15:05:59 +01:00
Robinson
5533d6f794
updated copyright in unit tests 2023-03-17 15:00:00 +01:00
Robinson
a7a606f1be
API/Code cleanup 2023-02-27 11:31:34 +01:00
Robinson
a311a47eaf
Added sync/async unit block for thread/concurrent safe sync/async calls 2022-12-16 00:01:11 +01:00
Robinson
dad5cd90b0
Network now uses MDC + unique session id's to initiate/create connections. Prevents issues surrounding handshake conflicts. Now uses exclusive publications, also synchronizes on connection when sending data. Fixed issues when binding to IPv6 Wildcard IPs. RMI events will (attempt) to suppress errors when the connection is closed when the RMI waiter times out. 2022-08-04 03:39:14 +02:00
Robinson
20226468c4
Changed Aeron connections from MDC -> "normal" (so the network connections are initialized more like a standard UDP connection would be, instead of the more complicated MDC method 2022-08-02 12:11:36 +02:00
Robinson
b942c691fc
Changed aeron connections from MDC (similar to udp multicast), to single and unique connections. Fixed issues with duplicate handshake messages. Fixed issues when trying to connect too quickly. Sped up handshake a LOT when multiple clients are connecting. Dynamic class registrations (server-side only) broken 2022-07-29 04:52:11 +02:00
Robinson
3ef3d28d24
Removed coroutines from parts of the networking message processing. 2022-07-27 00:20:34 +02:00
Robinson
85efa25f0a
Fixed unit tests for suspending functions 2022-07-16 10:26:12 -04:00
Robinson
0b09073a4c
Tweak unit tests 2022-07-13 22:54:50 -04:00
Robinson
e8f7c8d8d3
Cleaned up log messages, cleaned up handshakes, cleaned up polling code. Added unit test for concurrent client connections 2022-05-30 02:55:07 +02:00
Robinson
e61f3e4711
Moved multiconnect to it's own test file 2022-04-04 23:22:04 +02:00
Robinson
22e7acab46
Added a streaming protocol (currently in-memory only) for sending data that large, or generally exceeds aeron's max transmit payload size 2022-04-04 14:48:38 +02:00
Robinson
29f71f425f
Changed loopback -> localhost (loopback is invalid on macos) 2022-03-15 12:44:52 +01:00
Robinson
33f3ca8ebc Supports the newest version of Aeron. Updated error log usage and notifications. Refactored RMI API (now RMI is accessible via '.rmi' calls). Updated unit tests. Added 'delete' to rmi methods (opposite of 'create'). 2021-07-07 00:04:47 +02:00
Robinson
bcad2f8d12 WIP unit tests with updated RMI api 2021-07-02 11:40:20 +02:00
Robinson
ef4b76d303 Changed scope for onMessage/disconnect/connect/etc callbacks from 'connection' -> 'this'. 2021-04-30 22:39:36 +02:00
Robinson
048b780e2f Added tests for restarting a client via client.close(). connection.close() with a onDisconnect listener also works. The instance that started the aeron instance, is the one that cleans it up 2021-04-30 21:18:57 +02:00
Robinson
c529bde55b updated tests to latest source 2021-04-30 18:22:38 +02:00
Robinson
f53e705432 Fixed "fast" reconnect issues, where sometimes the media driver would be disconnected from the aeron driver 2021-04-27 13:57:47 +02:00
nathan
50783a7ae9 reworked how stopDriver operates 2020-09-19 19:38:55 +02:00
nathan
3b9eb00de9 Added unit test for manually starting/stopping the aeron media driver outside of the network 2020-09-15 12:01:29 +02:00
nathan
495bf8931f Added test for media driver disconnects in same JVM 2020-09-11 03:30:16 +02:00
nathan
09c895e981 Added test for IPC -> UDP fallback 2020-09-10 14:40:09 +02:00
nathan
8caef6611c Cleaned up unit tests 2020-09-02 03:20:29 +02:00
nathan
27be7d996a Code cleanup 2020-09-01 14:37:43 +02:00
nathan
9478acc0f4 cleaned up logs 2020-08-27 02:34:36 +02:00
nathan
42664bfdfe Fixed issues with restarting a client, notifyConnect/Disconnect now ALWAYS happen on a new coroutine 2020-08-25 17:46:36 +02:00