Commit Graph

516 Commits

Author SHA1 Message Date
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
nathan
617ab95ede Added isConnected() method back to the client 2018-04-04 16:16:31 +02:00
nathan
fbb8bf9d6f changed logging to debug 2018-04-04 15:30:31 +02:00
nathan
0a2da83a2c Better Ping/UDP-close-hint management 2018-04-04 15:25:02 +02:00
nathan
f4b4efe714 Added socket connect test 2018-04-04 15:02:56 +02:00
nathan
673e9300ff tweaked tests 2018-04-04 15:02:45 +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
nathan
a4cf9f4834 Datagram session now checks if event loop is shutdown before trying to
close
2018-04-03 15:53:01 +02:00
nathan
5d2fa50de2 Moved UDP close hint to it's own class and into the EndPoint (similar to
how Ping works)
2018-04-03 14:38:52 +02:00
nathan
f50b218ac1 Code cleanup 2018-04-02 16:16:56 +02:00
nathan
590ae9d94c Added info about link-local multicast name resolution 2018-04-02 16:08:14 +02:00
nathan
0af57379e6 Fixed issues with multiple worker threads 2018-04-02 16:06:58 +02:00
nathan
6156ac1569 Updated documentation 2018-04-01 16:01:46 +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
ab174e4e0e Code polish 2018-03-31 16:03:52 +02:00
nathan
7e32a2ff5b Release the byte buffer when it's a broadcast packet 2018-03-31 16:03:27 +02:00
nathan
882b65ccf1 Only try to close active datagram sessions 2018-03-29 23:07:23 +02:00
nathan
eaabd91080 DNS Flags.isFlag() will not throw an exception, it will only return true
or false.
2018-03-29 16:08:00 +02:00
nathan
68cd0071a6 Cleaned up local channel registration 2018-03-28 20:18:34 +02:00
nathan
f889399ecf WIP cleaning up DNS flags 2018-03-28 14:27:37 +02:00
nathan
c69d048a75 code polish 2018-03-28 10:54:12 +02:00
nathan
9fd33f242f Cleaned up reconnect test 2018-03-27 23:02:23 +02:00
nathan
e44ee694c7 Ensure we always release the AddressEnvelope when doing DNS queries. 2018-03-26 23:08:13 +02:00
nathan
bac7df8b9a Fast track disabling native library on startup 2018-03-26 23:01:09 +02:00
nathan
5b7c33befb log output polish 2018-03-26 16:04:18 +02:00
nathan
4a3c5cf703 Always call the onDisconnect listeners during shutdown 2018-03-26 16:03:15 +02:00
nathan
c587088095 Added comments describing how UDP behaves on the server 2018-03-24 00:24:20 +01:00
nathan
f2a28c2a8d Added ability to enable/disable loading the network native library (if
desired...)
2018-03-24 00:16:43 +01:00
nathan
635f97b502 removed debug code 2018-03-22 19:21:28 +01:00
nathan
dbd9c3d10a changed method order 2018-03-22 19:21:08 +01:00