Commit Graph

501 Commits

Author SHA1 Message Date
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
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
515ee83de4 Added appropriate note on reconnect test (where it sometimes fails with UDP) that it can fail with UDP because it's unreliable - even on loopback 2019-01-09 23:09:24 +01:00
nathan
c609bb7328 Fixed issue with registration timeout == 0 (it will now wait indefinitely) 2019-01-09 19:54:37 +01:00
nathan
448223f4c8 Removed test (with serr comment) because javax.crypto is not available in java 6 2019-01-09 19:53:12 +01:00
nathan
02cf3ae97c Updated test for newer versions of kryo 2019-01-09 19:52:42 +01:00
nathan
c18839aa86 Added test 2019-01-09 19:51:57 +01:00
nathan
82e4478d45 Added comments 2019-01-09 19:51:39 +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
5183309262 WIP compiling files for different versions of java 2018-12-21 11:11:43 +01:00
nathan
2b8befa88f Updated version from 2.12 to 2.13 2018-12-20 16:27:13 +01:00
nathan
f494c40668 Updated version plugin 2018-12-20 16:26:48 +01:00
nathan
feed6601c4 Fixed path for includes 2018-12-19 08:49:08 +01:00
nathan
07cb768fc2 Updated version from 2.11 to 2.12 2018-12-19 00:08:05 +01:00
nathan
699789b465 Changed settings file to use a separate file for utilities dependency 2018-12-19 00:07:24 +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
088853ac69 Removed non-usable code 2018-09-25 20:10:57 +02:00
nathan
527ffe3d40 Added gradle wrapper task 2018-09-25 20:02:39 +02:00
nathan
1a535f09aa Merge remote-tracking branch 'origin/master'
# Conflicts:
#	build.gradle
2018-08-28 09:52:52 +02:00
nathan
4b6203e78c Fixed issue when custom build props are not available 2018-08-28 09:51:15 +02:00
nathan
b79bf03f60 Fixed issue when custom build props are not available 2018-08-27 23:11:05 +02:00
nathan
8fe6910fc5 Converted to gradle 2018-08-18 23:15:46 +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
46831b10b9 Changed RMI exception handling. If you don't EXPLICITLY transmit
exceptions AND the method does not throw an exception, then exceptions
will not be returned.
2018-04-04 23:33:35 +02:00
nathan
d3fbefd437 code polish 2018-04-04 23:32:22 +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