Commit Graph

685 Commits

Author SHA1 Message Date
nathan
2a4ae99390 RMI Optimizations, merged/renamed primary serialization interface. 2019-01-25 16:17:15 +01:00
nathan
a8fc584ae4 Server shutdown now tries harder to make sure the server is actually shutdown when aborting. Can also check UDP servers now 2019-01-25 16:16:03 +01:00
nathan
aac6e30ec9 DiscoverHost now throws IoException when host discovery fails 2019-01-25 16:15:11 +01:00
nathan
e6cc3fd851 Reconnect test fails easier now 2019-01-25 16:14:00 +01:00
nathan
8c9140b3f6 Simplified shutdown/wait methods for unit testing 2019-01-25 16:13:41 +01:00
nathan
f2adf6c8b8 Fixed issues with unit tests 2019-01-25 15:59:11 +01:00
nathan
1a6540f360 Shortened shutdown timeout by a lot 2019-01-25 00:49:48 +01:00
nathan
11578b817d Fixed threading deadlock issues in some circumstances 2019-01-22 14:41:40 +01:00
nathan
7f4ce13657 Fixed issues when trying to connect and it times out 2019-01-22 14:41:12 +01:00
nathan
1d3d794f99 Made logger optional for Host discovery. 2019-01-22 01:02:43 +01:00
nathan
463433ef45 Fixed countdown 2019-01-22 00:40:44 +01:00
nathan
0eb19e8c3f Clean up and optimize RMI network stack. 2019-01-20 22:44:27 +01:00
nathan
df73b839b4 Formatting 2019-01-20 21:36:22 +01:00
nathan
9d3cf9fdf5 Added additional checks to make sure the socket is UN-BOUND when shutting down a server. Added UDP checking for Server.isRunning(config) 2019-01-20 21:35:25 +01:00
nathan
bc67ca73a3 More explicit name for connection registration thread. Verified thread handoff is correct 2019-01-17 19:05:31 +01:00
nathan
66fe755bb5 Fixed comments and assignment of local variables 2019-01-17 17:14:42 +01:00
nathan
aa4fc5c44b Fixed issues with Client/Server worker thread pool sizes. 2019-01-17 16:15:59 +01:00
nathan
e6d8666862 Fixed number of worker threads for endpoint 2019-01-17 15:58:13 +01:00
nathan
52197975cd Better API calls for getting the string representation of an ip 2019-01-16 23:35:21 +01:00
nathan
5000fdd264 Optimize IPv4 -> String call in registration stack 2019-01-16 22:41:02 +01:00
nathan
fbc253d3fc Updated comments in build script 2019-01-16 12:12:13 +01:00
nathan
0e42fb89af Updated version from 2.14 to 2.15 2019-01-16 11:44:11 +01:00
nathan
51544ce594 Local-JVM connections now verify class registrations 2019-01-16 11:43:46 +01:00
nathan
cdc22485b0 Fixed class registration verification (write was compressed, read was not) 2019-01-16 11:43:23 +01:00
nathan
627ef245d2 Fixed issues with array offsets when using unpooled buffers. 2019-01-16 11:42:33 +01:00
nathan
5e8e475747 Fixed issues with PING for local tests 2019-01-16 11:12:27 +01:00
nathan
b48886376b Fixed javadocs 2019-01-16 11:08:59 +01:00
nathan
9c69fba19d Added more comments w.r.t. testing for screwed up class registrations 2019-01-16 10:51:07 +01:00
nathan
8703a57264 Further polish. 2019-01-14 10:38:06 +01:00
nathan
998328b362 No longer depend on Utilities project, but on it's compiled sources. 2019-01-14 01:37:10 +01:00
nathan
27d90cdb04 fixed auto-closing input stream when loading properties 2019-01-13 22:42:59 +01:00
nathan
6c2fd0ed4b build organization 2019-01-13 17:57:37 +01:00
nathan
d93ba6d803 build organization 2019-01-13 17:56:27 +01:00
nathan
d47c28bcc5 Updated version from 2.13 to 2.14 2019-01-13 17:46:12 +01:00
nathan
3901436aca Updated license info 2019-01-13 17:46:03 +01:00
nathan
ca3485901b Removed gitea property 2019-01-13 17:41:38 +01:00
nathan
eab456ef46 Made loading custom properties cleaner 2019-01-13 17:38:51 +01:00
nathan
e033a52823 Updated build scripts to kotlin 2019-01-13 00:01:10 +01:00
nathan
4d1afe4703 Renamed build files to kotlin script 2019-01-11 15:28:27 +01:00
nathan
8f9c68a288 Updated libraries. Removed dead code 2019-01-11 15:27:25 +01:00
nathan
4c40fd38f3 Class registration verification now includes serializer class (but not it's configuration). 2019-01-11 10:22:02 +01:00
nathan
63d3a586ff Moved util methods into RmiUtil class 2019-01-11 10:12:19 +01:00
nathan
c326833208 RMI test code polish 2019-01-11 09:59:40 +01:00
nathan
4b5430e90f Added ability for client to send server registration data, and the server will validate that all of the registration classes are the same before allowing the connection to successfully connect. 2019-01-11 09:56:36 +01:00
nathan
7b89fc6443 Added more explicit details on why UDP can fail 2019-01-11 09:53:11 +01:00
nathan
d662f5c37c Reverted EditableDefaultClassResolver 2019-01-10 20:52:21 +01:00
nathan
24d68a1614 Fixed serialization.Default method params. 2019-01-09 23:41:42 +01:00
nathan
05f3272f96 Sending a class over the network always requires explicit registration now (previously, RMI message implementations did not require explicit registration) 2019-01-09 23:41:18 +01:00
nathan
ff350991a4 Removed the need for a client to register RMI interfaces explicitly (now it is done the same was as "normal" classes, via 'register'. Fixed various startup bugs missed from the last commit 2019-01-09 23:40:19 +01:00
nathan
1ed2b65eed Removed type generics from RemoteObjectSerializer 2019-01-09 23:39:19 +01:00