Commit Graph

39 Commits

Author SHA1 Message Date
nathan
db69e2f9c8 Updated copyright/formatting 2019-01-25 16:27:01 +01:00
nathan
2a4ae99390 RMI Optimizations, merged/renamed primary serialization interface. 2019-01-25 16:17:15 +01:00
nathan
0eb19e8c3f Clean up and optimize RMI network stack. 2019-01-20 22:44:27 +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
c326833208 RMI test code polish 2019-01-11 09:59:40 +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
c609bb7328 Fixed issue with registration timeout == 0 (it will now wait indefinitely) 2019-01-09 19:54:37 +01:00
nathan
33853d44e3 RMI is now more robust and forgiving 2019-01-09 18:19:20 +01: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
d9ca5b93df Fixed issues with UDP connection handling. Fixed issues with
registration order. Fixed issues with connection shutdown. Fixed
issues with explicit flush(). Added support for UDP session handling.
Updated broadcast discovery to return ports used. Added
connection.send(), which will use the best option to send
 data (TCP first, otherwise UDP).
2018-04-01 14:51:13 +02:00
nathan
f4e94f2562 Initial implementation of UDP session channels. todo: closing them when
inactive  (via timeouts, since udp doesn't have sessions). Can now have
3 types of connections, TCP, UDP, and TCP+UDP
2018-02-16 21:03:07 +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
10d8cc6061 Added RMI ID exhaustion test 2018-01-28 01:12:27 +01:00
nathan
5a64414e7f Cleaned up exceptions in tests 2018-01-27 23:06:02 +01:00
nathan
dba62c131f Cleanup for EndPointBase 2018-01-25 17:03:59 +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
3aee8c93a7 Updated serialization package. Updated RMI tests to include both network
connections and local connections.
2018-01-22 15:58:20 +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
0395f62ac0 Moved serialization 'stuff' to it's own serialization package 2018-01-14 00:04:43 +01:00
nathan
d0ffd01d5e ListenerBridge -> Listeners (plural). add/removeListener -> add/remove 2017-10-13 19:38:24 +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
891d96f716 polish 2017-09-26 12:11:29 +02:00
nathan
aa686ef99a Java 1.6 compatibility fixes 2017-09-25 23:29:17 +02:00
nathan
f8d71b96dd RMI working now 2017-09-25 23:06:21 +02:00
nathan
e84688ba85 Fixed unit test + comments 2017-09-25 22:14:11 +02:00
nathan
cddbe68222 Fixed comments 2017-09-25 22:11:36 +02:00
nathan
4f7acde039 Fixed Rmi test. Code polish 2017-09-25 21:55:38 +02:00
nathan
db850f89bd Fixed RMI across multiple clients/servers. Code cleanup 2017-09-24 23:30:17 +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
76599e370e Refactored listener dispatch events
(connect/disconnect/idle/message-received) so that they are now
interfaces, and the backing implementation uses the single-writer
principle
2016-04-03 18:58:38 +02:00
nathan
1aaae4c30b Removed endpoint.disableRemoteKeyValidation, as it's no longer
necessary for "loopback" connections
2016-03-18 03:00:17 +01:00
nathan
e2cdcab9ea added missing registration 2016-03-17 02:58:40 +01:00
nathan
78fca36d30 code polish 2016-03-10 23:52:24 +01:00
nathan
8dd0dd3db3 more informative test output 2016-03-09 00:48:03 +01:00
nathan
b1934a5b2d Updated file licensing 2016-03-07 01:07:37 +01:00
nathan
20e81e5ff9 documentation polish 2016-03-07 00:10:07 +01:00
nathan
3f579a7529 Added toString() verification to unit tests 2016-03-06 23:49:56 +01:00
nathan
31fdf957b8 Cleaned project hierarchy 2016-03-01 13:35:39 +01:00