67 Commits (477feee8a3fbc84d00c2939b5fc8a9bbf19af2ca)

Author SHA1 Message Date
Adam Ierymenko f69454ec98 (1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses. 11 years ago
Grant Limberg fb0bf52b1b Fixed sending a port number of 0 to ZT1. 11 years ago
Grant Limberg 74f7d5377d Enable ZT_TRACE and more verbose build output 11 years ago
Grant Limberg 5015c0ae78 more logging 11 years ago
Grant Limberg b6196a53de Fix DataStoreGetFunction. 11 years ago
Grant Limberg 58ca657da6 Use object arrays rather than ArrayList. JNI side 11 years ago
Grant Limberg 4c680e3126 LOTS more error checking and logging. 11 years ago
Grant Limberg 09631ad382 fix datastore get call in JNI 11 years ago
Grant Limberg 2d67196667 added the android verbose log level and moved most jni debug messages to verbose 11 years ago
Grant Limberg 9755dad7ff add a missing break from a switch 11 years ago
Grant Limberg 1e043a3f66 Remove link desperation from java API 11 years ago
Kees Bos a425bbc673 Renamed supernode to rootserver 11 years ago
Grant Limberg 742c59a7c7 Refactor package name from com.zerotierone.sdk to com.zerotier.sdk 11 years ago
Grant Limberg 818339f966 replace old direct calls to FindClass, GetMethodID, etc with calls that use the cache 11 years ago
Grant Limberg 079d248eab added a JniCache objectet for caching jclass, jmethodID, and jfieldID objects 11 years ago
Grant Limberg 02b33e3763 Yeah it helps to byte swap the port back to little-endian before sending the port off to Java 11 years ago
Grant Limberg 0a15eae00f Setup native build for Windows Java. 11 years ago
Grant Limberg 9464504e4a DataStoreGet and Put and EventListener appear to work 11 years ago
Grant Limberg 7e0cc28a89 Fixes for bugs pointed out by updating warnings 11 years ago
Grant Limberg 9bf9670ff9 add more warnings to the JNI build 11 years ago
Grant Limberg 5983b4367b jclass pointers aren't as cacheable as originally thought. 11 years ago
Grant Limberg d1ed269537 Switch to InetSockAddress instead of InetAddress so we can send the port # to java as well 11 years ago
Grant Limberg 4c71e92a67 It's now possible to actually create a Node object in Java/Android!!! 11 years ago
Grant Limberg 3bdbc6390f Added logging to Android logcat 11 years ago
Grant Limberg db80070ccb fix strings pointing to enum fields in ResultCode java class 11 years ago
Grant Limberg 56f8160af8 generate javadocs for the Java SDK 11 years ago
Grant Limberg 0d4283a3fa Cache jclass and jmethod instances for callbacks on the JniRef struct. 11 years ago
Grant Limberg 9c62ce9e6f implemented EventCallback 11 years ago
Grant Limberg f2eed5a65f implemented WirePacketSendFunction 11 years ago
Grant Limberg 5e1fb4e253 Realized that the jclass and jmethodID variables in the callbacks cannot be static 11 years ago
Grant Limberg dc00ce4f44 added DataStorePutFunction implementation 11 years ago
Grant Limberg 53ebd5a9a5 don't need to pass buffer size because java arrays have a .length member 11 years ago
Grant Limberg d5fc2b39aa implemented DataStoreGetFunction callback 11 years ago
Grant Limberg 4137246653 implemented VirtualNetworkFrameFunctionCallback 11 years ago
Grant Limberg 28168fa673 implement VirtualNetworkConfigFunctionCallback 11 years ago
Grant Limberg 99af0f3a88 moved creation of VirtualNetworkConfig objects to ZT1_jniutils 11 years ago
Grant Limberg 6f07a476a6 create and return the peer array 11 years ago
Grant Limberg 52a20b4b0f create PeerRole and PeerPhysicalPath objects 11 years ago
Grant Limberg 6dd3c07b25 removing unneeded jni headers 11 years ago
Grant Limberg 1df6bc6bc3 just adjusting some alignment 11 years ago
Grant Limberg 9ab7280703 added infrastructure for Node.peers() and Node.networks() functions 11 years ago
Grant Limberg 7f6556eba0 node.networkConfig() now creates ArrayLists of multicast subscriptions and assigned addresses 11 years ago
Grant Limberg 1bea940323 fix field ID signatures 11 years ago
Grant Limberg 6ff2e6ecfe move findNode method back 11 years ago
Grant Limberg d66f2cd54d Node.networkConfig now only needs to populate the lists of assigned addresses and multicast subscriptions and then it's finished 11 years ago
Grant Limberg 46adf870a1 move utility functions from anon namespace to ZT1_jniutils 11 years ago
Grant Limberg 4906f8e848 added stub utility functions for creating ArrayLists, appending items to ArrayLists, creating InetAddress objects, and MulticastGroup objects 11 years ago
Grant Limberg fa9d42b7e5 finished the JNI implementation of the status() method on Node 11 years ago
Grant Limberg 667a103a6a added functions to create Event, and VirtualNetworkStatus objects 11 years ago
Grant Limberg 32a35e6808 scaffolding for implementation of status() and networkConfig() 11 years ago