Commit Graph

243 Commits

Author SHA1 Message Date
Robinson fe98763712
All connections are now buffered - in the event there is a network issue, or a quick reconnect, and messages are sent DURING this disconnected phase, these messages will be resent on the new connection once it is connected 2023-10-28 20:54:40 +02:00
Robinson 0c4c442b3a
Fixed/cleaned up connection polling and restarts 2023-10-26 21:19:36 +02:00
Robinson 70825708a3
More careful event dispatch (no longer global, but per endpoint) 2023-10-26 08:09:47 +02:00
Robinson 2270b815b4
better logging 2023-10-23 23:27:55 +02:00
Robinson 7cacc63dca
renamed function: isConnected -> isClosedWithTimeout 2023-10-18 19:54:07 +02:00
Robinson 6fb5dbb833
added sendDisconnectMessage to API when closing 2023-10-18 19:52:31 +02:00
Robinson 46cb174183
more logging 2023-10-18 19:46:34 +02:00
Robinson 099f9de834
Enhanced logging for session connection type 2023-10-18 19:33:13 +02:00
Robinson 53f7cd8cf1
Simplified connection log info for debug output 2023-10-17 16:47:40 +02:00
Robinson 7eac9699c9
Fixed session/connection lateinit errors 2023-10-05 13:18:00 +02:00
Robinson 0825274bd0
Cleaned up ordering of connection initialization 2023-09-28 01:55:03 +02:00
Robinson b55168a3eb
Now safely try to close a connection when it's not possible (just log, don't throw exception) 2023-09-26 19:53:27 +02:00
Robinson 78374e4dfc
More clearly defined session management. Fixed problem when reconnecting + RMI create callbacks. 2023-09-25 13:59:26 +02:00
Robinson be78d498dc
Add connection before init, so init happens before polling of events 2023-09-25 13:53:37 +02:00
Robinson 8bbaa6df18
Cleaned up sessions 2023-09-22 15:54:01 +02:00
Robinson e6b4cbd386
Added support for sessions 2023-09-21 12:53:47 +02:00
Robinson f269684ea5
newConnection method reverted back to function, which allows for easier extension of class types 2023-09-17 02:36:45 +02:00
Robinson b2b6cfdc10
Removed KotlinLogging (it has a niche usage that did not apply) 2023-09-13 17:04:25 +02:00
Robinson 81380fe633
Wrapped logger.debug/trace into if statements to prevent the JVM from creating unnecessary lambdas 2023-09-13 16:01:14 +02:00
Robinson 3d8c5275ac
Better error details during connect phase 2023-09-08 14:18:35 +02:00
Robinson c69512eda4
pollerClosedLatch is now only created once we've fully started (prevent blocking forever when shutting down) 2023-09-08 13:21:12 +02:00
Robinson 9b1650ae31
Code cleanup 2023-09-06 16:24:45 +02:00
Robinson 3e9a8f9c74
Moved ping to the connection object 2023-09-05 12:58:38 +02:00
Robinson 8b62dbb063
Removed more coroutine, simplified methods 2023-09-04 14:23:06 +02:00
Robinson e185f496ec
Removed coroutines/suspending calls 2023-09-04 00:48:00 +02:00
Robinson e7999d3095
WIP - removing heap allocations 2023-09-03 21:17:37 +02:00
Robinson f631dea046
If reconnect is called on a client WITHOUT being first closed, it will close first. 2023-08-30 12:02:04 +02:00
Robinson 364b29fd0c
version 6.9.1 2023-08-21 19:53:10 +02:00
Robinson 0747802f0d
updated deps, version 6.9 2023-08-21 02:20:41 +02:00
Robinson 87173af0b7
version 6.8 2023-08-20 14:28:12 +02:00
Robinson c95e811fde
version 6.7 2023-08-11 16:23:49 -06:00
Robinson e8724ea4c5
Client connections are checked for isConnected() status during poll events 2023-08-11 09:57:24 -06:00
Robinson 8e7c47abcc
code cleanup 2023-08-10 20:11:23 -06:00
Robinson 96f5406ae6
More careful checks when closing endpoints during restart
code polish
2023-08-10 20:05:49 -06:00
Robinson 77d56b8804
Direct access to critical error now instead of proxy 2023-08-10 20:02:38 -06:00
Robinson ce311fea86
Added more support for criticalDriverErrors 2023-08-09 21:47:06 -06:00
Robinson 836c8abce6
Cleaned up/tweaked endpoint.close() 2023-08-09 21:35:40 -06:00
Robinson 3852677feb
connect event dispatch check only redispatches when it's ON the EDT, but NOT in the correct one 2023-08-09 21:31:00 -06:00
Robinson 9fcbabd061
cleaned up logging 2023-08-09 21:10:41 -06:00
Robinson 296c600245
Added more detailed info when reconnecing 2023-08-07 19:56:38 -06:00
Robinson 8aa919b28a
simplified connect redispatch logic 2023-08-07 19:56:14 -06:00
Robinson 59bc934dc1
moved checks to earlier in the connect process 2023-08-07 19:55:51 -06:00
Robinson 4a80c2c0b8
Reconnect now can have a specified timeout 2023-08-04 23:32:00 -06:00
Robinson e5786550a6
Updated version 2023-07-24 02:00:03 +02:00
Robinson 15c7fb2a3d
Code cleanup 2023-07-23 23:02:29 +02:00
Robinson 06b5f30948
Only check if a connection is closed now. We now wait for pub+sub to be "connected" before continuing to build the connection object (so it will always be in the connected state) 2023-07-23 13:39:27 +02:00
Robinson 0e37689c2c
better logs when retrying the connect sequence 2023-07-20 20:40:43 +02:00
Robinson 7bd653db2a
Better IPC checking 2023-07-20 20:40:17 +02:00
Robinson d787045149
Updated version 2023-07-16 14:58:01 +02:00
Robinson c4eda86bfe
Optimized how we send data (we use our own stream/block data structures for fragmentation/reassembly. 2023-07-15 13:11:50 +02:00