Grant Limberg
|
5015c0ae78
more logging
|
vor 10 Jahren |
Grant Limberg
|
b6196a53de
Fix DataStoreGetFunction.
|
vor 10 Jahren |
Grant Limberg
|
58ca657da6
Use object arrays rather than ArrayList. JNI side
|
vor 10 Jahren |
Grant Limberg
|
4c680e3126
LOTS more error checking and logging.
|
vor 10 Jahren |
Grant Limberg
|
09631ad382
fix datastore get call in JNI
|
vor 10 Jahren |
Grant Limberg
|
2d67196667
added the android verbose log level and moved most jni debug messages to verbose
|
vor 10 Jahren |
Grant Limberg
|
9755dad7ff
add a missing break from a switch
|
vor 10 Jahren |
Grant Limberg
|
1e043a3f66
Remove link desperation from java API
|
vor 10 Jahren |
Grant Limberg
|
742c59a7c7
Refactor package name from com.zerotierone.sdk to com.zerotier.sdk
|
vor 10 Jahren |
Grant Limberg
|
818339f966
replace old direct calls to FindClass, GetMethodID, etc with calls that use the cache
|
vor 10 Jahren |
Grant Limberg
|
079d248eab
added a JniCache objectet for caching jclass, jmethodID, and jfieldID objects
|
vor 10 Jahren |
Grant Limberg
|
9464504e4a
DataStoreGet and Put and EventListener appear to work
|
vor 10 Jahren |
Grant Limberg
|
7e0cc28a89
Fixes for bugs pointed out by updating warnings
|
vor 10 Jahren |
Grant Limberg
|
5983b4367b
jclass pointers aren't as cacheable as originally thought.
|
vor 10 Jahren |
Grant Limberg
|
d1ed269537
Switch to InetSockAddress instead of InetAddress so we can send the port # to java as well
|
vor 10 Jahren |
Grant Limberg
|
4c71e92a67
It's now possible to actually create a Node object in Java/Android!!!
|
vor 10 Jahren |
Grant Limberg
|
56f8160af8
generate javadocs for the Java SDK
|
vor 10 Jahren |
Grant Limberg
|
0d4283a3fa
Cache jclass and jmethod instances for callbacks on the JniRef struct.
|
vor 10 Jahren |
Grant Limberg
|
9c62ce9e6f
implemented EventCallback
|
vor 10 Jahren |
Grant Limberg
|
f2eed5a65f
implemented WirePacketSendFunction
|
vor 10 Jahren |
Grant Limberg
|
5e1fb4e253
Realized that the jclass and jmethodID variables in the callbacks cannot be static
|
vor 10 Jahren |
Grant Limberg
|
dc00ce4f44
added DataStorePutFunction implementation
|
vor 10 Jahren |
Grant Limberg
|
53ebd5a9a5
don't need to pass buffer size because java arrays have a .length member
|
vor 10 Jahren |
Grant Limberg
|
d5fc2b39aa
implemented DataStoreGetFunction callback
|
vor 10 Jahren |
Grant Limberg
|
4137246653
implemented VirtualNetworkFrameFunctionCallback
|
vor 10 Jahren |
Grant Limberg
|
28168fa673
implement VirtualNetworkConfigFunctionCallback
|
vor 10 Jahren |
Grant Limberg
|
99af0f3a88
moved creation of VirtualNetworkConfig objects to ZT1_jniutils
|
vor 10 Jahren |
Grant Limberg
|
6f07a476a6
create and return the peer array
|
vor 10 Jahren |
Grant Limberg
|
1df6bc6bc3
just adjusting some alignment
|
vor 10 Jahren |
Grant Limberg
|
9ab7280703
added infrastructure for Node.peers() and Node.networks() functions
|
vor 10 Jahren |