summaryrefslogtreecommitdiff
path: root/java/jni/ZT1_jniutils.cpp
AgeCommit message (Collapse)Author
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-06-26reflect changes to ZT1_PeerRole in JNIGrant Limberg
2015-06-17Merge branch 'adamierymenko-dev' into android-jniGrant 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-09Logging and adding .equals() methods to MulticastGroup and VirtualNetworkCofnigGrant Limberg
2015-06-03Might help to set the enabled field on a VirtualNetworkConfig object :)Grant 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-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-06Renamed supernode to rootserverKees Bos
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-30Yeah it helps to byte swap the port back to little-endian before sending the ↵Grant Limberg
port off to Java
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-25fix strings pointing to enum fields in ResultCode java classGrant Limberg
2015-04-25generate javadocs for the Java SDKGrant Limberg
2015-04-24implemented EventCallbackGrant Limberg
All callback methods are now implemented
2015-04-24implement VirtualNetworkConfigFunctionCallbackGrant Limberg
2015-04-24moved creation of VirtualNetworkConfig objects to ZT1_jniutilsGrant Limberg
added implementation of networks() method
2015-04-24create PeerRole and PeerPhysicalPath objectsGrant Limberg
2015-04-23node.networkConfig() now creates ArrayLists of multicast subscriptions and ↵Grant Limberg
assigned addresses Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23move findNode method backGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23move utility functions from anon namespace to ZT1_jniutilsGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23added stub utility functions for creating ArrayLists, appending items to ↵Grant Limberg
ArrayLists, creating InetAddress objects, and MulticastGroup objects Signed-off-by: Grant Limberg <glimberg@gmail.com>