Commit Graph

315 Commits

Author SHA1 Message Date
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
nathan
88bf805f80 Moved NativeLoader to Utilities. 2017-07-30 20:17:29 +02:00
nathan
b8849832ac Moved Network UDT files to their own project. The Network-UDT project
MUST be compiled on Java6, while the Network project MUST be compiled on
 Java7. This difference causes problems in the IDE, since one cannot set
  different source level version on different directories, but only on
  modules.
2017-07-30 20:17:17 +02:00
nathan
a4e7447e48 Formatting 2017-07-30 19:55:42 +02:00
nathan
6080c4fd4d Revert java 7 changes 2017-07-30 19:54:06 +02:00
nathan
d39f3ea289 Updated UDT to be compilable on Java7. 2017-07-30 19:50:28 +02:00
nathan
2154eeb5a8 Formatting 2017-07-30 19:49:54 +02:00
nathan
3461d511f9 Fixed DNS to work with changes from netty 4.1.13 2017-07-30 11:40:20 +02:00
nathan
f091b7d604 Fixed issues when closing a channel that was already closed. 2017-07-30 11:28:33 +02:00
nathan
8f5558c95c Updated Version 2017-07-29 23:31:09 +02:00
nathan
734dce719b Refactored OsType -> OSType 2017-07-23 11:30:52 +02:00
nathan
8a26760af3 Now uses Version instead of String. 2017-07-22 14:52:01 +02:00
nathan
a9e5ebb168 Added TEMP_DIR to OS. 2017-06-26 14:06:07 +02:00
nathan
ba593bbf9e Moved Random utils into their own class 2017-03-10 17:04:35 +01:00
nathan
8e7d51ead8 Updated version information 2017-02-21 14:43:48 +01:00
nathan
3c8ea1f4d9 Updated Storage API 2017-02-18 23:59:47 +01:00
nathan
7c0d2d0493 Changed Store -> StorageType to make more sense. 2017-02-12 23:21:58 +01:00
nathan
782ca1a8e3 Updated version/readme 2017-02-01 00:53:22 +01:00
nathan
598b675754 Updated version 2016-05-31 02:21:42 +02:00
nathan
f6ebbc1080 Updated version 2016-04-28 16:46:18 +02:00
nathan
7009a2241f updated version 2016-04-04 17:25:31 +02:00
nathan
dfbd95bcce Updated version 2016-04-03 21:03:27 +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
55dd4c4d55 Added FastThreadLocal 2016-04-02 19:42:34 +02:00
nathan
3615d6cb72 Code polish, now uses FastThreadLocal 2016-04-02 19:33:09 +02:00
nathan
80ab10df01 Moved channel registration into registration wrapper 2016-04-02 17:00:40 +02:00
nathan
666b391514 Comment polish and better null checks 2016-04-02 16:58:26 +02:00
nathan
ad34679e71 Added ability to add/remove custom connections to the server backed,
to allow for custom connection types (such as web-based) that we want
 our server to be able to manage + dispatch listeners
2016-03-25 17:54:58 +01:00
nathan
f6522f8b6d Converted the connection manager (listeners + connection dispatch) to
use the singler-writer-principle
2016-03-22 15:50:41 +01:00
nathan
24761bb84b Updated version 2016-03-20 10:00:26 +01:00
nathan
0d768dd321 KryoExtra no longer depends on concrete 'connection' implementation,
now uses crypto + rmi interfaces
2016-03-20 08:02:30 +01:00
nathan
2988ae4bb0 tweaked UDT library dist name 2016-03-20 07:26:58 +01:00
nathan
7af25d29ac Removed epoll loader (it's now in the DependencyJar builder) 2016-03-20 07:25:15 +01:00
nathan
63d8d06653 Changed UDT dist name to netty-UDT... 2016-03-20 07:23:49 +01:00
nathan
ce4e3bef90 Simplified loading native libraries 2016-03-19 03:05:54 +01:00
nathan
cb6f82dbda Reverted java7 NIO changes, since classloading fixes for java6 for
Netty have been implemented
2016-03-18 16:14:55 +01:00
nathan
aae89891c0 Code polish, by default does not encrypt data sent over a loopback
interface, only over remote interfaces.
2016-03-18 16:13:53 +01:00
nathan
7168eaadb7 Cleaned up comments, added isLoopback to client 2016-03-18 16:11:56 +01:00
nathan
9ffc8655bc Added writeCompressed/readCompressed methods. 2016-03-18 16:04:27 +01:00
nathan
739315afb4 Added java6 compatibility fix 2016-03-18 15:59:53 +01:00
nathan
d78e19ae4c Added isLoopback(), for knowing if this is a loopback connection 2016-03-18 15:59:21 +01:00
nathan
c1cce753cd Better localhost usage 2016-03-18 03:48:05 +01:00
nathan
998dc07698 Moved java7 specific NIO API to bottom of class 2016-03-18 03:08:45 +01:00
nathan
a259e9bfd1 Code polish, tweaked how remote key validation works (when we disable
it, it becomes WARN instead of ERROR+abort
2016-03-18 03:02:58 +01:00
nathan
50b416593f Changed local machine ID from 127.0.0.1 -> 0.0.0.0 so loopback
connections will work
2016-03-18 03:00:58 +01:00
nathan
1215fce459 clarified init parameters 2016-03-18 02:34:21 +01:00
nathan
2c6212b9e3 tweaked comments 2016-03-18 02:32:06 +01:00
nathan
ee8bb02df6 removed debug messages from shutdown handler 2016-03-18 02:27:59 +01:00
nathan
ceda14e78f Added comments 2016-03-18 02:27:44 +01:00
nathan
ca28a7d908 Revert java6 NIO compatibility. Netty requires java7 because the
classloader cannot load certain classes (because of recursion issues)
2016-03-18 01:21:12 +01:00
nathan
64df20fcdf Java 6 NIO compatibility fix 2016-03-17 19:57:08 +01:00
nathan
24b844e4e3 Updated version. 2016-03-17 18:09:49 +01:00
nathan
05291d61a3 Fixed issues with client reconnecting (it was flaky) 2016-03-17 02:57:42 +01:00
nathan
fe8e21c449 Now reuses buffers if possible during compression/encryption stage 2016-03-17 00:16:13 +01:00
nathan
a7a3fa6091 Fixed issues when deployed in a diffeerent (non-jar) container. 2016-03-13 20:43:27 +01:00
nathan
b1d4d1fc77 Updated version 2016-03-13 17:37:43 +01:00
nathan
5b68fde15d Disabled warnings for ChannelActive when used via a LocalChannel 2016-03-13 16:16:13 +01:00
nathan
0d185e4de2 Better extraction and use of UDT natives 2016-03-13 16:08:21 +01:00
nathan
780a0d2bc5 Updated version info 2016-03-13 01:16:24 +01:00
nathan
79ecc1da51 Updated network PropertyStore to be final (it's only intended to be
used if there is no other SettingStore available)
2016-03-13 01:11:51 +01:00
nathan
ee75e50377 Updated dependencies, updated version 2016-03-12 12:52:27 +01:00
nathan
1379e18a94 updated version 2016-03-11 04:01:46 +01:00
nathan
1e017804bb Fixed client reconnect 2016-03-11 00:05:42 +01:00
nathan
537d76bc8f Changed endpoint.close -> endpoint.closeConnections for clarity on behavior 2016-03-10 23:50:34 +01:00
nathan
17efc50a06 Renamed Store.shutdown -> Store.close 2016-03-10 23:45:34 +01:00
nathan
36d1187105 Changed to curve25519 2016-03-10 23:32:10 +01:00
nathan
e1332ab74d made serialization manager optional 2016-03-10 23:31:30 +01:00
nathan
71abcbae91 Fixed threading issues with encryption 2016-03-10 17:20:30 +01:00
nathan
58a20b2913 Code polish 2016-03-10 17:19:32 +01:00
nathan
c4fa7253ea Changed property store to package private 2016-03-10 17:18:46 +01:00
nathan
3ddecfd21f Changed eventLoopGroup name UDP->DNS, fixed resource leak with DNS response. 2016-03-10 01:26:27 +01:00
nathan
76b577365d Cleaned up UDT api 2016-03-09 14:51:43 +01:00
nathan
3d86c4d87d better comments 2016-03-09 14:51:24 +01:00
nathan
a597768c20 removed unnecessary synchronization 2016-03-09 14:48:39 +01:00
nathan
359c84aab4 spacing 2016-03-09 14:05:04 +01:00
nathan
1cf59944fa Added AES GCM counter IV 2016-03-09 14:03:10 +01:00
nathan
dbea782033 Fixed UDT loading when in IDE 2016-03-09 03:18:59 +01:00
nathan
a82dbf81b5 Implemented counting AES-GCM IV 2016-03-09 03:04:10 +01:00
nathan
dda6086a2c Better comments 2016-03-09 00:51:54 +01:00
nathan
37224b3097 kryo compression now uses optimized int instead of standard int 2016-03-09 00:49:36 +01:00
nathan
d91ee89102 better comments 2016-03-09 00:48:39 +01:00
nathan
0a2f37c482 Fixed typo in log 2016-03-09 00:48:24 +01:00
nathan
876caf1dc0 Changed RuntimeException to IllegalState exception 2016-03-09 00:47:27 +01:00
nathan
e1942ae03f Code polish. Removed optional compression (because for small data, it doesn't matter with AES padding) 2016-03-08 03:18:12 +01:00
nathan
9593cfa70a Moved normal/crypto serialization methods into their own function 2016-03-08 01:09:12 +01:00
nathan
97eff8fe67 Added initial version information 2016-03-07 01:21:47 +01:00
nathan
8fc09609a2 Removed unneeded property 2016-03-07 01:08:47 +01:00
nathan
bdddc540bb Removed "tool" support from library. It doesn't belong here. Also added @Property annotation to applicable fields 2016-03-07 01:08:30 +01:00
nathan
b1934a5b2d Updated file licensing 2016-03-07 01:07:37 +01:00
nathan
e1823c0f3b Fixed issues with using the backing arrays. code polish 2016-03-06 23:56:17 +01:00
nathan
e2f3f3aca7 code polish, cleaned API, better exception throwing 2016-03-06 23:54:50 +01:00
nathan
428e1fc9c1 Moved RmiFieldCache into better data structure (single-writer-principle variant). code polish 2016-03-06 23:54:11 +01:00
nathan
52f5c1688b Code polish. Changed kryo to pool (needed for nested serialized objects, specifically RMI). Cleaned up API. 2016-03-06 23:53:25 +01:00
nathan
6e72e79d0c code polish 2016-03-06 23:51:59 +01:00
nathan
c38a6277d9 Cleaned up/polished CachedMethods & Overriding methods 2016-03-06 23:51:50 +01:00
nathan
924adfc6c0 Cleaned up RMI logging 2016-03-06 23:51:06 +01:00
nathan
04bfaf1c70 fixed issue where registration could beat the check. It is more robust now 2016-03-02 01:27:48 +01:00
nathan
48707e6a73 Code polish. Moved comparator to private static final field 2016-03-02 01:26:54 +01:00
nathan
31fdf957b8 Cleaned project hierarchy 2016-03-01 13:35:39 +01:00