Commit Graph

522 Commits

Author SHA1 Message Date
nathan
8f39813ccf Renamed RmiWaiter -> ResponseWaiter 2020-09-21 01:42:31 +02:00
nathan
04ca513cc3 suppressed experimental warnings 2020-09-19 22:07:38 +02:00
nathan
7ae3762603 Code polish 2020-09-19 22:07:09 +02:00
nathan
5017437a7a Updated networkutils, code polish 2020-09-19 22:06:54 +02:00
nathan
2429810fd7 Correct usage of no host name 2020-09-19 22:06:30 +02:00
nathan
dc30c18e97 Changed how internal storage operates (major performance improvement), added more types of storage. Set the default to PropertyStore (so settings are saved in a property file) 2020-09-19 19:41:39 +02:00
nathan
50783a7ae9 reworked how stopDriver operates 2020-09-19 19:38:55 +02:00
nathan
1703bc5449 Crypto now works with the raw public/private key byte arrays (instead of encoded bytearrays) 2020-09-19 01:32:32 +02:00
nathan
32d3023814 Serialization can now be extended 2020-09-18 01:12:53 +02:00
nathan
6548ad86e7 Added read(buffer: DirectBuffer), now returns writerBuffer on write 2020-09-18 01:12:25 +02:00
nathan
a8a6a517f7 Added setBuffer(DirectBuffer) method 2020-09-18 01:10:57 +02:00
nathan
bb2a7d8c41 Fixed error typo 2020-09-18 01:09:56 +02:00
nathan
bf457b6d69 Better error when client subscrition cannot connect. Added comments about publications 2020-09-18 01:09:18 +02:00
nathan
b9c0e6b29f Handshake should be using the endpoint store, not the config store 2020-09-16 15:52:25 +02:00
nathan
f9623a616c No longer require KryoExtra to register (normal Kryo is enough) 2020-09-16 14:28:49 +02:00
nathan
b08b7a13cd Simplified SettingsStore, it now uses it's own serializer 2020-09-15 21:17:47 +02:00
nathan
e08d5a3d2b No longer have a dependency on Storage serialization manager 2020-09-15 21:17:18 +02:00
nathan
8af039265b Fixed comment typo 2020-09-15 18:55:28 +02:00
nathan
f4e451d917 Cleaned up how we interact with the storage system. Simplified storage configuration/init 2020-09-15 17:08:21 +02:00
nathan
b18fccc867 If registration was previously ignored, then ignore it on subsequent initialization 2020-09-15 16:53:34 +02:00
nathan
3c4cfe805f Added support for starting/stopping the aeron media driver OUTSIDE of the network library. Better startup and cleanup of aeron connections to the media driver. Added an error handler that doesn't exit the JVM on error 2020-09-15 12:01:05 +02:00
nathan
fb3d2f3f98 Cleaned up logs 2020-09-14 22:12:54 +02:00
nathan
0c7202d00c Changed connection timeout from millis -> nanos 2020-09-14 20:41:01 +02:00
nathan
7f823bc2e7 Code polish 2020-09-14 20:35:17 +02:00
nathan
610f22fdec Connection management uses concurrent iteration, so now polling uses that correctly 2020-09-11 11:06:53 +02:00
nathan
93a892f439 Connections now can only trigger as expired from when they are created, not when they are last valid. Changed from images.isConnected -> images.count 2020-09-11 03:28:26 +02:00
nathan
e5bcd3cb1a Fixed out-of-order initialization of aeron dir 2020-09-11 02:02:46 +02:00
nathan
960d1e4660 Added back isRunning() 2020-09-11 01:27:46 +02:00
nathan
9ef9a066a0 Fixed issues with forcing unique media driver locations. Fixed issues where connections weren't getting removed. Added reversal of auto-IPC (in case the server doesn't have IPC) 2020-09-11 01:14:22 +02:00
nathan
60e8c5dc2e Fixed incorrect address used in log message 2020-09-10 14:39:08 +02:00
nathan
7db6a45437 Fixed thread visibility issues in the client handshake when reconnecting 2020-09-10 14:38:54 +02:00
nathan
c13fb205cf Fixed index out of bounds for pending RMI 2020-09-10 14:35:23 +02:00
nathan
49badc0836 KryoPool now will automatically grow if too many are read before they are returned 2020-09-10 02:19:11 +02:00
nathan
030387c378 Fixed issues when RMI timeout happens 2020-09-10 02:05:14 +02:00
nathan
c9f74c162d Code polish 2020-09-10 01:51:58 +02:00
nathan
c119556ae2 Cleaned up connection server info logs 2020-09-10 01:51:47 +02:00
nathan
9f7c921afd Added extra checks to see if a network family is available before using it to connect to a server 2020-09-10 00:35:01 +02:00
nathan
696c8f65cf Added extra checks to see if a network family is available before using it 2020-09-10 00:28:08 +02:00
nathan
b953f9bf85 Fixed issue with logging when IPv6 is wildcard 2020-09-10 00:21:55 +02:00
nathan
ac874198c2 WIP kryo-pool 2020-09-09 19:45:57 +02:00
nathan
594019020b Fixed issue,and clarified RMI.timeout = 0 (this will wait forever) 2020-09-09 15:23:20 +02:00
nathan
ca88b9941f Fixed compile warnings 2020-09-09 15:13:08 +02:00
nathan
ce5eb8cb77 Fixed issues with connection handshake. ALL kryo usage for a handshake is now ONLY on the primary coroutine 2020-09-09 12:24:04 +02:00
nathan
06a35ed027 Fixed memory leak wrt RMI waiters 2020-09-09 12:19:27 +02:00
nathan
db992d98a9 Removed thread specific code from coroutine 2020-09-09 11:03:47 +02:00
nathan
3e4e4abb49 Fixed issue when publication has intermittent subscribers (this can happen, and is OK). During send we just have to idle until one is connected again. This is different than a CLOSE event (which is not to be confused with NOT_CONNECTED) 2020-09-09 02:01:06 +02:00
nathan
b7da14834e Added support for IPv6. 2020-09-09 01:33:09 +02:00
nathan
679e002785 Connections can linger a bit before becoming expired (underlying aeron streams can quickly come and go) 2020-09-04 13:19:33 +02:00
nathan
ae168de114 Cleaned up logging 2020-09-04 13:18:59 +02:00
nathan
6dddc77fdc Internal stack traces should keep dorkbox network info 2020-09-04 10:19:53 +02:00