summaryrefslogtreecommitdiff
path: root/java/jni/com_zerotierone_sdk_Node.cpp
AgeCommit message (Collapse)Author
2019-04-22pt 2Grant Limberg
2019-04-22Make things compile with Android NDK againGrant Limberg
2018-02-12some JNI error checkingGrant Limberg
2017-10-03Update Android NDK with uint64_t -> int64_t changesGrant Limberg
2017-07-17Wire up PortMapper in AndroidGrant Limberg
Enables UPnP port mapping for Android client on networks with UPnP routers
2017-07-12put the correct file extensions on data written to disk in JNIGrant Limberg
2017-07-12fix packet sending functionsGrant Limberg
2017-07-12Update JNI code to reflect new ZeroTier APIGrant Limberg
2017-03-29added orbit/deorbit methods to java Node implementationGrant Limberg
2017-03-29fix path checker initializationGrant Limberg
2017-03-29Added path checking interface for JavaGrant Limberg
2017-03-28fix native end of JNI code for new thread data ptrGrant Limberg
2017-01-13fix Android NDK buildGrant Limberg
2016-11-22use new ZT_Node_Callbacks struct in JNIGrant Limberg
2016-07-07update JNI code for 1.1.6Grant Limberg
2016-01-22Fix JNI for API changes in 1.1.4Grant Limberg
2015-11-14added ttl parameter to WirePacketSendFunctionGrant Limberg
2015-11-03logging of eventsGrant Limberg
2015-11-02updates for origin/edgeGrant Limberg
2015-09-26don't create an InetSocketAddress on local address if it's equal to ↵Grant Limberg
ZT_SOCKADDR_NULL
2015-09-26fix function signature in lookup for onSendPacketRequested functionGrant Limberg
2015-09-26Merge branch 'adamierymenko-dev' into android-jni-devGrant Limberg
also update for changed function calls that now accept a local address # Conflicts: # include/ZeroTierOne.h # java/CMakeLists.txt # java/jni/Android.mk # java/jni/ZT1_jnicache.cpp # java/jni/ZT1_jnilookup.h # java/jni/ZT1_jniutils.cpp # java/jni/com_zerotierone_sdk_Node.cpp
2015-09-24(1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local ↵Adam Ierymenko
interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses.
2015-07-01change some build settings. add a lockGrant Limberg
2015-07-01...Grant Limberg
2015-06-30loggingGrant Limberg
2015-06-10Rename JniCache to JniLookupGrant Limberg
Removed caching capabilities as the cached methods, fields, and objects appears to be broken on Android
2015-06-09killing whitespaceGrant Limberg
2015-06-09Replace calls to Get<Type>ArrayElements with GetPrimitiveArrayCritical.Grant Limberg
This puts code accessing the data in a critical section so that the GC cannot run while JNI has access to the array. This helps with stability somewhat, but I'm still getting some crashes in the GC
2015-06-09Logging and adding .equals() methods to MulticastGroup and VirtualNetworkCofnigGrant Limberg
2015-06-03more loggingGrant Limberg
2015-06-01Fixed sending a port number of 0 to ZT1.Grant Limberg
Fixed VirtualNetworkConfigFunction (creating array to send to Java) Fixed the creating InetAddress instead of InetSocketAddress in virtual network config callback
2015-05-28more loggingGrant Limberg
2015-05-28Fix DataStoreGetFunction.Grant Limberg
2015-05-28Use object arrays rather than ArrayList. JNI sideGrant Limberg
2015-05-27LOTS more error checking and logging.Grant Limberg
Running into a wall attempting to add items to an ArrayList from the JNI side
2015-05-26fix datastore get call in JNIGrant Limberg
Just delete the local reference rather than do an array delete. Array delete was causing a crash on loading network config files. Deleting the local ref works fine, though, as it still lets the JVM garbage collecter know that the native code is done with the array
2015-05-26added the android verbose log level and moved most jni debug messages to verboseGrant Limberg
2015-05-26add a missing break from a switchGrant Limberg
2015-05-21Remove link desperation from java APIGrant Limberg
2015-05-02Refactor package name from com.zerotierone.sdk to com.zerotier.sdkGrant Limberg
2015-05-02replace old direct calls to FindClass, GetMethodID, etc with calls that use ↵Grant Limberg
the cache
2015-05-02added a JniCache objectet for caching jclass, jmethodID, and jfieldID objectsGrant Limberg
2015-04-29DataStoreGet and Put and EventListener appear to workGrant Limberg
2015-04-29Fixes for bugs pointed out by updating warningsGrant Limberg
2015-04-27jclass pointers aren't as cacheable as originally thought.Grant Limberg
There is a way to do it. We can try it later if we determine it's needed for performance reasons. Otherwise, don't use static to cache them
2015-04-27Switch to InetSockAddress instead of InetAddress so we can send the port # ↵Grant Limberg
to java as well
2015-04-25It's now possible to actually create a Node object in Java/Android!!!Grant Limberg
2015-04-25generate javadocs for the Java SDKGrant Limberg
2015-04-24Cache jclass and jmethod instances for callbacks on the JniRef struct.Grant Limberg
This is safe to cache as none of the instantiated callback interfaces can be changed once a Node object is created.