Commit Graph

578 Commits

Author SHA1 Message Date
nathan
0404ff408d Reworked RMI so it will not crash anything on the "remote" side. There
will be errors emitted, and the "local" side will receive a null object
+ invalid RMI ID.
2018-01-28 10:23:12 +01:00
nathan
10d8cc6061 Added RMI ID exhaustion test 2018-01-28 01:12:27 +01:00
nathan
05809714cf Streamlined registering/creating RMI objects. Invalid object IDs are no
longer hard-coded to Integer.MAX_VALUE
2018-01-27 23:07:53 +01:00
nathan
5a64414e7f Cleaned up exceptions in tests 2018-01-27 23:06:02 +01:00
nathan
205220f8a7 Streamlined creating RMI objects 2018-01-27 23:05:09 +01:00
nathan
9ec7edba36 Changed StringBuffer -> StringBuilder 2018-01-27 21:45:21 +01:00
nathan
dba62c131f Cleanup for EndPointBase 2018-01-25 17:03:59 +01:00
nathan
799b9db1ef Cleanup for EndPointBase 2018-01-25 17:02:18 +01:00
nathan
be399c44ea Updated version 2018-01-25 16:08:14 +01:00
nathan
4cb9d8ad59 Removed a decent amount of unnecessary generics. Fixed a few bugs wrt
removing connection managers/listeners. Moved RMI message logic to
clean up how it worked.
2018-01-25 15:48:15 +01:00
nathan
1d2008beef Added TypeResolver, moved ClassHelper into it's own package so
java 1.8 specific code can be compiled separately.
2018-01-24 17:35:46 +01:00
nathan
c8335e120a Added TypeTools license 2018-01-24 17:31:38 +01:00
nathan
bfd84aaced moved ClassHelper 2018-01-24 17:31:22 +01:00
nathan
3aee8c93a7 Updated serialization package. Updated RMI tests to include both network
connections and local connections.
2018-01-22 15:58:20 +01:00
nathan
efb7ef9770 Updated serialization package. 2018-01-22 15:57:39 +01:00
nathan
839ff7e897 Code polish 2018-01-22 15:32:56 +01:00
nathan
b9759ae071 Changed SerializationManager package 2018-01-22 15:32:41 +01:00
nathan
5d2278cba1 Renamed RegistrerRmiSystemListener 2018-01-22 15:31:58 +01:00
nathan
f8de99df31 Fixed issues with getting generic parameter names to support lambda
expressions
2018-01-22 15:26:38 +01:00
nathan
ffc2375fe8 Removed and reworked RMI so that local (in-jvm) connections have the
exact same behavior as network connections. This was to remove
workarounds present when local in-jvm connections were used
2018-01-22 15:25:36 +01:00
nathan
d6e7affa1e Explicit synchronize on eventLoopGroups object 2018-01-22 15:23:09 +01:00
nathan
21186fb0c4 Fixed self-defined type listener 2018-01-21 00:15:13 +01:00
nathan
328825d60e Changed getRemoteObject(class...) to createRemoteObject(class...), so to
make it more clear, are we creating a NEW remote object, or getting an
 already existing one?

Removed unnecessary IOException throws
2018-01-19 00:30:45 +01:00
nathan
add5b96263 Added getResponseTimeout() to RemoteObject 2018-01-18 20:03:01 +01:00
nathan
d7b7f94c1e Signature parameter name clarification 2018-01-18 14:19:46 +01:00
nathan
33f8f0843e Fixed RMI, so now it will properly detect methods in parent
classes/interfaces, without having to register them explicitly.
CachedMethods are no longer static, and there are fewer lookups
2018-01-17 21:48:07 +01:00
nathan
3e28b68e16 Added checks for shutdown while trying to connect (or reconnect) 2018-01-17 21:41:20 +01:00
nathan
6d09887de1 Cleaned up "connection refused" error log 2018-01-17 21:33:53 +01:00
nathan
c2d6f66030 Moved pipeline RMI files into rmi package 2018-01-17 21:26:07 +01:00
nathan
ed1fdf4085 Added isShutdown() query 2018-01-15 16:02:09 +01:00
nathan
758a93d1b9 Code polish. Removed waiting for RMI to startup. Changed how
abortRegistration works, added MACOSX native event loops, Cleaned up how
 waiting for registration works (it's now a CountDownLatch. It's much
 more stable now.) Removed duplicate/dead methods. Serialization can now
  accept/reject interfaces for object serialization (as a way to permit
  "stubs" so class IDs match)
2018-01-14 23:01:09 +01:00
nathan
1d3cd06130 Code cleanup for shutdown and checking if a thread is in a netty event
loop
2018-01-14 22:57:18 +01:00
nathan
404e54bff8 Code polish 2018-01-14 18:22:02 +01:00
nathan
72068e07e2 Code polish 2018-01-14 18:18:55 +01:00
nathan
e708d56062 JavaDoc polish 2018-01-14 00:20:54 +01:00
nathan
0395f62ac0 Moved serialization 'stuff' to it's own serialization package 2018-01-14 00:04:43 +01:00
nathan
a474da5c68 Moved isEncrypted() check into KryoExtra, added register(Class<?> clazz,
int id);
2018-01-13 23:59:36 +01:00
nathan
b4394e6755 Moved isEncrypted() check into KryoExtra 2018-01-13 23:54:20 +01:00
nathan
d39930a700 Added notes, code polish, connect now times-out instead of waiting
forever
2018-01-12 17:18:09 +01:00
nathan
331ca0e36c Code polish 2018-01-12 16:42:25 +01:00
nathan
4f55f08aa7 Updated version 2018-01-11 23:44:37 +01:00
nathan
ad7e0f44f9 Code polish 2018-01-11 23:44:17 +01:00
nathan
71111c4e3c WIP DnsServer + Server Handlers 2018-01-11 21:14:46 +01:00
nathan
46bb211bf8 Update dependencies 2018-01-11 21:13:00 +01:00
nathan
7921c748ca Removed dead code 2018-01-11 15:09:05 +01:00
nathan
658d8e96b5 Switched addListener/Resolve call order 2018-01-11 15:03:12 +01:00
nathan
1bfcc61a92 Fixed issues with ensuring appropriate hostName's are FQDN (absolute) 2018-01-11 14:59:33 +01:00
nathan
6d7ccb322e DnsClient now throws UnknownHostException if there is no DNS resolution.
Added a default timeout for DNS queries/etc + method with the timeout
 as a parameter
2018-01-11 14:58:35 +01:00
nathan
542092a7b3 Potential fix for bootstrap registration iteration errors 2018-01-11 14:57:32 +01:00
nathan
5b890a623a Fixed issue with config.host == null (it can never be null -- the "any"
address is 0.0.0.0, and we take care of how to bind it to any
internally)
2018-01-11 14:55:55 +01:00