Commit Graph

20 Commits

Author SHA1 Message Date
Robinson 58535a923b
Added support for connection tags (so the client can set a name for its connection, and the server will get that name). This is usefull for identifying different connections (and doing different things) based on their tag name. 2023-10-28 20:55:49 +02:00
Robinson 4797b7e816
Added port1/2 settings to server + client.
Fixed relevant unit tests
2023-07-11 00:11:58 +02:00
Robinson e403e1d6e1
Now use the client public-key as the client ID for the connection (to determine/know exactly which connection belongs to what client) 2023-07-02 21:56:46 +02:00
Robinson a42c9ad940
Better log message 2023-07-01 11:42:54 +02:00
Robinson 7c0283b775
Removed dead code 2023-06-29 20:01:38 +02:00
Robinson 03974514c5
Code cleanup, added UUID support 2023-06-25 11:52:19 +02:00
Robinson da0db98658
more specific parameter names, better toString() info 2023-06-19 12:19: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 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 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 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
nathan cc9742fe14 Handshake validate is only done based on the one-time key (instead off session id) as the session ID was shared in some situations (the aeron session ID is not guarateed to be unique, unless it is manually set) 2020-09-28 16:30:38 +02:00
nathan 93e406289c Fixed issues with connection handshake with the same computer, on multiple clients. 2020-09-23 17:08:25 +02:00
nathan 4e0ff43f5e Code polish 2020-09-04 10:19:29 +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 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 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 b6f337d0e6 Added RMI serialization syncrhonization between the server/client during the handshake. Fixed serialization for sending RMI objects in both directions. Removed NetworkSerializationManager, and instead pass the Serialization implementation. 2020-08-26 15:39:29 +02:00
nathan ee5e9eb24e Updated copyright notices in files 2020-08-19 15:35:45 +02:00
nathan 8d9bef0ccc separated handshake from connection management. cleaned up API 2020-08-15 13:21:20 +02:00