Commit Graph

248 Commits

Author SHA1 Message Date
nathan
45bb05f134 Simplified query response type 2018-01-29 00:49:50 +01:00
nathan
fbb043120b formatting 2018-01-29 00:49:25 +01:00
nathan
12c7c9f0a5 Simplified resolver via DnsResponse->DnsEnvelope for all promise types 2018-01-29 00:49:17 +01:00
nathan
dc54c9b226 Improved memory/gc usage, replaced generic hashmaps with implementation
specific versions.
2018-01-28 17:56:36 +01:00
nathan
4d87ba10c1 Improve performance of get operations in Options 2018-01-28 14:16:11 +01:00
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
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
205220f8a7 Streamlined creating RMI objects 2018-01-27 23:05:09 +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
bfd84aaced moved ClassHelper 2018-01-24 17:31:22 +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
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
nathan
c44dd03587 Fixed logic with local-channel XOR network-channel. Cleaned up logger
access
2018-01-11 14:54:51 +01:00
nathan
b64ca30fc7 Changed parseV6/V6 to public access 2018-01-11 14:52:47 +01:00
nathan
d9c2bcc3e2 Code polish 2018-01-11 14:51:11 +01:00
nathan
9970e452e2 Added @Override annotations 2018-01-11 14:50:38 +01:00
nathan
a9ba4a5b52 Improved performance of byte buf allocator for UDP connections 2018-01-03 22:30:06 +01:00
nathan
5ff2f348a0 Fixed comment typo 2018-01-03 17:27:41 +01:00
nathan
12c628bcae More clearly specified TCP/UDP port requirements. Code polish 2017-11-08 15:53:22 +01:00
nathan
c33a086465 Cleaned up DnsClient 2017-11-08 11:39:31 +01:00
nathan
34f4ec836d code polish 2017-11-08 11:38:22 +01:00
nathan
ecce442137 Added back timeout 2017-11-08 11:38:12 +01:00
nathan
5a746d9344 refactor 2017-11-08 11:38:01 +01:00
nathan
873e3e9863 Added more DNS required files 2017-11-08 11:37:46 +01:00
nathan
762215304d Added netty based DNS resolver. This is VERY similar to the one released
officially, but with changes to accept/work with xbill DNS records
 (which are more complete than netty's)
2017-11-06 23:20:34 +01:00
nathan
2a66a70a4f Added xbill derrived DNS - WIP 2017-11-06 16:55:24 +01:00
nathan
b17dfce221 WIP for the DNS server. Restructured to add "endPointBase" so other
types of endpoints (ie: the DnsServer) can be supported for
start/shutdown.
2017-10-27 15:00:58 +02:00
nathan
8be291608d Code polish 2017-10-26 21:13:14 +02:00
nathan
124ef3d42c Added more options to the DnsClient 2017-10-26 21:00:09 +02:00
nathan
cf27224fec Updated version number 2017-10-14 14:29:47 +02:00
nathan
e8b47df493 Added try/catch around creating remote objects 2017-10-14 13:57:10 +02:00
nathan
1de96ae769 Abstract methods for clarity 2017-10-14 13:47:34 +02:00
nathan
b4a05689f0 sessionManager notify cleanup 2017-10-13 19:41:00 +02:00
nathan
1af118f468 add/removeConnection -> add/remove 2017-10-13 19:38:46 +02:00
nathan
d0ffd01d5e ListenerBridge -> Listeners (plural). add/removeListener -> add/remove 2017-10-13 19:38:24 +02:00
nathan
f8a33377d6 Listeners can now be chained 2017-10-13 16:58:33 +02:00
nathan
7237d03407 Added name information to CachedMethod comparator 2017-10-09 17:43:20 +02:00
nathan
16db5a89d0 Updated version 2017-10-03 00:05:29 +02:00
nathan
c884f5167b Removed UDT, as it has been deprecated and marked for removal upstream. 2017-10-03 00:03:06 +02:00
nathan
e62e4a59c1 Updated version 2017-09-26 12:44:51 +02:00
nathan
fb574189d3 Added server information when starting a connection 2017-09-26 12:42:36 +02:00
nathan
0dcdca8e43 Added address information when successfully listening for connections. 2017-09-26 12:37:00 +02:00
nathan
672a579bc1 Added IP information when server cannot bind to an interface. 2017-09-26 12:35:36 +02:00
nathan
891f8ac25d Updated client with more specific details when it cannot connect. 2017-09-26 12:26:02 +02:00
nathan
846e2d7760 Updated version 2017-09-25 23:37:38 +02:00
nathan
aa686ef99a Java 1.6 compatibility fixes 2017-09-25 23:29:17 +02:00
nathan
50f98e834c Javadoc/comments cleanup 2017-09-25 23:23:10 +02:00
nathan
6c97567d04 RMI cleanup/polish 2017-09-25 23:15:32 +02:00
nathan
f8d71b96dd RMI working now 2017-09-25 23:06:21 +02:00
nathan
37adecd68a Code cleanup 2017-09-25 21:56:45 +02:00
nathan
0dc0a0e0c2 Javadoc cleanup 2017-09-25 00:21:04 +02:00
nathan
db850f89bd Fixed RMI across multiple clients/servers. Code cleanup 2017-09-24 23:30:17 +02:00
nathan
3242574806 Updated deprecated methods 2017-09-23 21:17:19 +02:00
nathan
9d8f381427 Serialization manager is now moved into the Configuration options, so
that different network backends (within the same application) can
support multiple serialization schemes.
2017-09-22 16:45:06 +02:00
nathan
c22ac7bd81 Updated version 2017-09-22 15:42:45 +02:00
nathan
55649ec160 javadoc formatting 2017-09-22 13:48:57 +02:00
nathan
1e724c55f9 Fixed package name. The standard package naming
convention with CamelCase is consistent across projects.
2017-09-22 09:25:10 +02:00
nathan
ac955c250f Reverted change to use Version (now uses string again). 2017-09-15 00:47:16 +02:00
nathan
6f1d7f0672 Updated version 2017-08-04 18:27:24 +02:00
nathan
ff79443030 Updated storage API 2017-08-04 17:39:21 +02:00
nathan
fa57d78b55 Updated version 2017-08-02 22:58:55 +02:00
nathan
bd82695d2d Made changes to the StorageSystem (IOExceptions, default serialization
manager, etc). Minor refactoring.
2017-08-02 22:12:50 +02:00
nathan
80aa58b590 Updated version 2017-07-31 22:13:46 +02:00
nathan
8959289b33 Updated versoin 2017-07-30 21:31:13 +02:00