Commit Graph

300 Commits

Author SHA1 Message Date
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
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
b48886376b Fixed javadocs 2019-01-16 11:08:59 +01:00
nathan
d47c28bcc5 Updated version from 2.13 to 2.14 2019-01-13 17:46:12 +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
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
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
nathan
241b3d4ce2 Fixed RMI so that the impl class does not have to be registered in order to construct a proxy object 2019-01-09 23:22:54 +01:00
nathan
c609bb7328 Fixed issue with registration timeout == 0 (it will now wait indefinitely) 2019-01-09 19:54:37 +01:00
nathan
3f003995b6 Moved DNS to it's own project 2019-01-09 18:19:44 +01:00
nathan
33853d44e3 RMI is now more robust and forgiving 2019-01-09 18:19:20 +01:00
nathan
c927f87316 Cleaned up RMI field names 2019-01-09 18:18:05 +01:00
nathan
2b8befa88f Updated version from 2.12 to 2.13 2018-12-20 16:27:13 +01:00
nathan
07cb768fc2 Updated version from 2.11 to 2.12 2018-12-19 00:08:05 +01:00
nathan
e5a96cb3b2 For RMI registration, we check to see if the interface is already registered. If so, we override it with the implementation class. This enables us to simplify registering classes for RMI 2018-12-18 23:45:56 +01:00
nathan
c54d20eae6 Fixed internal issue where RMI object was null (since it didn't exist) and we would try to add it to internal maps anyways. 2018-10-25 21:36:00 +02:00
nathan
5f2cb654d2 Updated version 2018-04-05 18:39:45 +02:00
nathan
a56b4261ae Added more error checking for the client with invalid hosts 2018-04-05 17:15:49 +02:00
nathan
1d35a9916e Fixed issues with StackOverflowErrors when loading Netty on windows. 2018-04-05 17:13:58 +02:00
nathan
03e30ab15c Typo fix 2018-04-05 17:11:49 +02:00
nathan
d1fc510d60 Updated version 2018-04-04 23:49:34 +02:00
nathan
fa3f98581d It is not necessary to interrupt the thread group 2018-04-04 23:34:29 +02:00
nathan
f72a3881eb Fixed logic for transmitting return values/exceptions (it was incorrect
in the earlier commit)
2018-04-04 23:34:11 +02:00
nathan
f142a3f244 If the method return type is 'void', then we don't have to explicitly
set 'transmitReturnValue' to false.  If there are no checked exceptions
thrown, then we don't have to explicitly set 'transmitExceptions' to false
2018-04-04 22:45:31 +02:00
nathan
617ab95ede Added isConnected() method back to the client 2018-04-04 16:16:31 +02:00
nathan
0a2da83a2c Better Ping/UDP-close-hint management 2018-04-04 15:25:02 +02:00
nathan
6582caa521 Added better close listener for UDP 2018-04-04 15:02:17 +02:00
nathan
fdf4ecf39b Removed connection timing. added protocol count connection info during
handshake
2018-04-04 15:01:51 +02:00
nathan
ccbe893efa Added better out-of-order message handling during connection handshake 2018-04-04 15:01:08 +02:00
nathan
b9c6a1422d Code cleanup/polish 2018-04-04 14:58:34 +02:00
nathan
615e224292 Added close hints when the connection is shutdown 2018-04-04 14:58:24 +02:00
nathan
73a5af7a95 Added wire read/write trace logging (ie: exactly what's on the wire...) 2018-04-04 14:57:19 +02:00
nathan
292f50a059 Code polish/cleanup 2018-04-04 14:56:37 +02:00