Commit Graph

1042 Commits

Author SHA1 Message Date
Robinson
cdb90b1809
Refactored serialization (it is more explicit now) 2023-06-27 01:25:56 +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
a02c737c6c
Updated inet serializer location 2023-06-26 02:11:43 +02:00
Robinson
58c8d87da4
Initial implementation of JMPS bypass for the TransportPoller 2023-06-26 02:11:10 +02:00
Robinson
43c4b6c742
Fixed issues when shutting down before starting up 2023-06-26 00:37:33 +02:00
Robinson
2eeed92c97
updated logging 2023-06-25 17:27:12 +02:00
Robinson
231ab230ba
Updated disconnect api 2023-06-25 17:26:05 +02:00
Robinson
d63b8a6514
changed logger 2023-06-25 17:25:13 +02:00
Robinson
3897becef1
Addec copy(), changed the defaultMessageCoroutineScope to be 'Default' instead of IO. The defaultNetworkEventPoll is now in the event poller 2023-06-25 17:25:05 +02:00
Robinson
078cf36e22
Permit external usage of closing everything when shutting down 2023-06-25 17:23:44 +02:00
Robinson
3a07b6bf86
Reference of existing list is kept before dispatching into new threads 2023-06-25 17:22:59 +02:00
Robinson
9a3e49bca4
Code cleanup 2023-06-25 17:21:25 +02:00
Robinson
3a9e9fea71
fixed issues with event poller lifecycle 2023-06-25 17:20:55 +02:00
Robinson
88f082097a
code cleanup 2023-06-25 12:21:21 +02:00
Robinson
4b511b2615
Cleaned up comments and logging 2023-06-25 12:13:52 +02:00
Robinson
119870bdc8
Added more comments, events now run on specific threads 2023-06-25 12:12:53 +02:00
Robinson
8e30883ebc
Code polish/cleanup 2023-06-25 12:05:41 +02:00
Robinson
c9e71c56b1
Code polish 2023-06-25 12:02:04 +02:00
Robinson
e02ef7d7e8
Handshake cleanup 2023-06-25 12:01:37 +02:00
Robinson
03974514c5
Code cleanup, added UUID support 2023-06-25 11:52:19 +02:00
Robinson
ff5d1ed430
Added logging 2023-06-25 11:52:01 +02:00
Robinson
80b4f2af48
Code cleanup 2023-06-24 12:23:07 +02:00
Robinson
3c02c28162
Added uuid, cleaned up logic 2023-06-24 12:21:57 +02:00
Robinson
f95b1f63ca
Updated copyright/comments 2023-06-24 02:06:17 +02:00
Robinson
422e983e85
Added comments 2023-06-24 02:06:03 +02:00
Robinson
115e63edf5
Added more exception types 2023-06-22 11:47:02 +02:00
Robinson
76c644b573
Added client UUID support 2023-06-22 11:46:30 +02:00
Robinson
f991182bbd
If a connection is manually closed, don't wait for aeron timeouts 2023-06-22 11:43:50 +02:00
Robinson
27696a0929
Added reserved class serialization registrations 2023-06-20 16:28:12 +02:00
Robinson
87a6fefe69
Code/logging cleanup 2023-06-19 14:03:18 +02:00
Robinson
1556cbe10d
Added method to easily reverse pub/sub info and added log output 2023-06-19 13:54:56 +02:00
Robinson
3d37a2267f
added more exception types 2023-06-19 13:53:28 +02:00
Robinson
da0db98658
more specific parameter names, better toString() info 2023-06-19 12:19:04 +02:00
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