Commit Graph

1009 Commits

Author SHA1 Message Date
Robinson
21e2504719
Added more exception types 2023-06-19 12:17:49 +02:00
Robinson
bd7bb78696
Cleaned up logging 2023-06-18 18:19:23 +02:00
Robinson
ddb41762cf
Response manager uses its own coroutineScope now 2023-06-18 18:18:22 +02:00
Robinson
49b9ee98a2
ResponseManager now uses it's own EventDispatcher for events (to prevent potential deadlocks during RMI operations) 2023-06-17 12:16:50 +02:00
Robinson
7e748bd7dc
Reference copies of atomic lists when calling them (in case the list is cleared in a reentrant call 2023-06-16 14:48:19 +02:00
Robinson
cf4b61f4de
logic update 2023-06-16 14:19:58 +02:00
Robinson
eeed70b2c3
Updated error logs 2023-06-16 14:19:46 +02:00
Robinson
9e3a5b4d16
Updated secure random 2023-06-16 14:18:42 +02:00
Robinson
539722f520
Added support for maxCapacity when calling setBuffer 2023-06-16 11:16:00 +02:00
Robinson
327ac46f42
Cleaned up API 2023-06-14 23:35:03 +02:00
Robinson
4f74b56a13
Cleaned up api and logging 2023-06-14 23:29:15 +02:00
Robinson
4f33369663
Fixed issues and cleaned up aeron media driver connection factories 2023-06-14 23:28:34 +02:00
Robinson
d268dde7a3
Removed old driver connection logic 2023-06-14 21:30:43 +02:00
Robinson
11247aa2e4
Fixed api usage 2023-06-13 15:48:59 +02:00
Robinson
76c2ab782a
Fixed invalid startup state for pollDispatcher 2023-06-13 15:48:49 +02:00
Robinson
ad538645c7
updated function parameters and comments 2023-06-07 11:59:08 +02:00
Robinson
7bde7ac3df
added comments 2023-06-07 11:49:01 +02:00
Robinson
25db1740f8
Added session+stream sub/pub IDs, added comments, fixed issues when exceptions were thrown 2023-06-07 11:48:45 +02:00
Robinson
9047ac386b
Cleaned comments 2023-06-07 11:46:02 +02:00
Robinson
ebc7b1cd76
More clear logging/checking when closing the poller 2023-06-07 11:44:52 +02:00
Robinson
6bbab72ca7
Uses SuspendingPool instead of channels (better tested library) for fewer bugs/issues 2023-06-06 00:15:41 +02:00
Robinson
7a99ea67b3
revert ping object changes 2023-06-06 00:11:13 +02:00
Robinson
c6b02869d2
update copyright 2023-06-06 00:10:47 +02:00
Robinson
dfe9491272
Fixed issues where some PING responses would not be returned (as a result of memory visibility/permanence) 2023-05-28 22:46:25 +02:00
Robinson
698a669d60
Removed dead code, added pingTimeout 2023-05-28 19:19:37 +02:00
Robinson
0aaff26e69
Moved dispatch requirements 2023-05-28 18:44:53 +02:00
Robinson
132a1d8363
Removed IPC sessionID. It's one IPC connection per Aeron Driver. 2023-05-28 18:43:59 +02:00
Robinson
b42b456daf
Added initialize state for endpoints 2023-05-28 17:06:01 +02:00
Robinson
d8455e1faf
added comments, code cleanup 2023-05-28 17:04:30 +02:00
Robinson
cf875832d9
code cleanup 2023-05-28 17:03:54 +02:00
Robinson
167de54114
Flipped order of closing (it's the same order as init) 2023-05-28 17:03:30 +02:00
Robinson
e1997eb8cc
getting the aeron log location is now static public. 2023-05-28 17:03:05 +02:00
Robinson
4df378e8d4
Added UUID to endpoint for ID 2023-05-28 17:02:15 +02:00
Robinson
b4d4d7e049
Handshaker specific params moved 2023-05-28 16:59:58 +02:00
Robinson
edc7e586f1
Extracted Kryo.readBytes() to mark private (what should be private) 2023-05-28 16:59:13 +02:00
Robinson
a17dbac0fc
Added trace logging info to the serializer 2023-05-28 16:58:23 +02:00
Robinson
48ef6d543d
Code cleanup 2023-05-28 16:57:06 +02:00
Robinson
23572ea9fd
Added debug event logs to the event dispatcher 2023-05-28 16:56:05 +02:00
Robinson
c119981859
Code cleanup 2023-05-28 16:54:37 +02:00
Robinson
bb952f99df
Migrated handshaker stuff out of endpoint, and into the "handshaker" 2023-05-28 16:53:56 +02:00
Robinson
e724048b4a
cleand imports 2023-05-28 16:49:57 +02:00
Robinson
5d56f37a0b
removed HANDSHAKE_SESSION_ID (these have to be UNIQUE, so this doesn't make sense to use) 2023-05-28 16:49:50 +02:00
Robinson
2dd7aa8bc0
Cleaned up adding/removing pub/sub 2023-05-28 16:49:10 +02:00
Robinson
080e27d6ad
added areAllInstancesClosed() 2023-05-28 16:43:01 +02:00
Robinson
71764755ac
Fixed issues with error reporting when the connection is created. 2023-05-28 16:24:16 +02:00
Robinson
8b7eadc01e
Cleaned up logging for the Event poller 2023-05-26 15:46:11 +02:00
Robinson
4c5cca9b84
cleaned logging 2023-05-26 15:43:18 +02:00
Robinson
5d2e6ac551
Cleaned up server handshakes 2023-05-26 15:41:21 +02:00
Robinson
784d0ecf02
Cleaned up random ID allocator 2023-05-26 15:34:26 +02:00
Robinson
6200c5e887
Changed close to suspending 2023-05-24 11:55:07 +02:00
Robinson
5cf41580fd
Cleaned up logging 2023-05-24 09:28:55 +02:00
Robinson
92d192bd1b
removed logger from EventPoller api 2023-05-24 09:21:39 +02:00
Robinson
f40d36c488
Fixed issues with unique aeron directory naming 2023-05-24 09:15:55 +02:00
Robinson
c2a5befb09
Added the ability to close the listenerManager 2023-05-24 00:15:04 +02:00
Robinson
2d87e003dc
Fixed issues surrounding the session/stream ID rewrite and connection handshake/state management 2023-05-08 09:58:24 +02:00
Robinson
95d7006c74
Cleaned up stack-trace cleanup method invocation 2023-04-29 00:46:16 +02:00
Robinson
e24dbcd0b1
cleaned IPC to mirror UDP connections 2023-04-21 23:56:13 +02:00
Robinson
17e711039e
EventDispatcher is static 2023-04-20 18:18:49 +02:00
Robinson
c2d1b85b87
Updated AeronDriver/Context API 2023-04-20 18:17:51 +02:00
Robinson
d2550a98e2
updated close signature 2023-04-20 17:58:15 +02:00
Robinson
e84be7f96a
Cleanup client reconnect logic 2023-04-20 17:57:14 +02:00
Robinson
b2f2077550
Fixed client connection logic (some logic is server always) 2023-04-20 17:55:58 +02:00
Robinson
da61b70321
EventDispatcher is static 2023-04-20 17:55:17 +02:00
Robinson
a403292ba8
Updated poller 2023-04-20 17:53:02 +02:00
Robinson
2ca87dfcb1
Event dispatcher events 2023-04-20 17:52:21 +02:00
Robinson
74dbdf02b5
Updated Configuration settings for unique directories 2023-04-20 17:51:07 +02:00
Robinson
ecdde53a3b
update AeronPoller close signature 2023-04-20 17:48:27 +02:00
Robinson
838b2d7ee3
Updated event polling for aeron network events 2023-04-20 17:47:45 +02:00
Robinson
8238dfffbd
updated collection library 2023-04-20 17:46:41 +02:00
Robinson
f7de6f4c9d
EventDispatcher is now static 2023-04-20 17:45:34 +02:00
Robinson
0dcd635f6d
connection filtering is only for the server now 2023-03-17 15:07:45 +01:00
Robinson
47c4ce1cd1
Added DisconnectMessage to serialization 2023-03-17 14:58:43 +01:00
Robinson
460840fad3
PING cancelRequest now uses send(), so that events are processed in order (instead of concurrently) 2023-03-17 14:58:04 +01:00
Robinson
eb0e59b7ba
runBlocking is now used for event registrations 2023-03-17 14:31:57 +01:00
Robinson
81e2965d10
optimized errorHandler 2023-03-17 14:06:32 +01:00
Robinson
7261a1dcfe
Cleaned up how the media driver connections work. They are also suspending instead of blocking 2023-03-17 14:05:50 +01:00
Robinson
0b7aa96ede
aeron dir is now auto-set to be absolute 2023-03-17 14:02:42 +01:00
Robinson
11d7645f7a
updated copyright 2023-03-17 13:58:52 +01:00
Robinson
a8f28d2814
kotlin map API + License header 2023-03-10 21:28:40 -06:00
Robinson
24f2246016
Errors will ALWAYS log, and will log only 1 time. 2023-03-05 17:20:38 +01:00
Robinson
1bdb5d546d
Reconnects during a disconnect are now re-dispatched appropriately 2023-03-02 19:46:08 +01:00
Robinson
559880b71c
Server disconnects do not call connection.connect (only clients can do this). Removed associated logic 2023-03-02 19:45:41 +01:00
Robinson
8f81243c25
MOved event dispatch to own class (as it is not user configurable) 2023-03-02 19:44:54 +01:00
Robinson
062b8a76ae
updated API 2023-03-02 19:44:06 +01:00
Robinson
96b5bcf905
moved runBlocking to invoking method 2023-03-02 19:43:24 +01:00
Robinson
9d04c3acb1
added new event dispatcher 2023-03-02 19:42:42 +01:00
Robinson
cbbef7f48a
Updated error handler usage, updated to use new event dispatch system, added more logging info 2023-03-02 19:42:22 +01:00
Robinson
408b41470e
updated API 2023-03-02 19:41:03 +01:00
Robinson
7ec23c59fa
Updated aeron event poller 2023-03-02 19:40:42 +01:00
Robinson
fc30c16758
Removed suspending methods (it was not necessary) 2023-03-02 19:38:21 +01:00
Robinson
2455f08b9a
updated API 2023-03-02 19:37:51 +01:00
Robinson
07219d058c
Moved network EventPoller to aeron package 2023-03-01 22:41:08 +01:00
Robinson
5833292975
Updated dispatch API 2023-03-01 22:40:12 +01:00
Robinson
66147174cc
Updated comments 2023-03-01 22:39:38 +01:00
Robinson
b29e6e583c
Fixed pingManager access 2023-03-01 22:39:29 +01:00
Robinson
8694f97217
Now using the NetworkEventPoller for polling ALL aeron subscriptions within the JVM 2023-03-01 22:39:03 +01:00
Robinson
ee3d0c7dda
Updated API 2023-03-01 22:36:41 +01:00
Robinson
3856483424
Added copyright 2023-03-01 22:36:27 +01:00
Robinson
6c846775eb
updated license 2023-03-01 20:34:01 +01:00
Robinson
9b1c594abb
Don't log (and trigger the "already shown tempFS tips) message if we are the NOP.LOGGER (which is when we check if we are running, it's the NOP logger.)" 2023-03-01 12:49:45 +01:00