summaryrefslogtreecommitdiff
path: root/java
AgeCommit message (Collapse)Author
2015-04-24implemented VirtualNetworkFrameFunctionCallbackGrant Limberg
2015-04-24implement VirtualNetworkConfigFunctionCallbackGrant Limberg
2015-04-24moved creation of VirtualNetworkConfig objects to ZT1_jniutilsGrant Limberg
added implementation of networks() method
2015-04-24create and return the peer arrayGrant Limberg
2015-04-24create PeerRole and PeerPhysicalPath objectsGrant Limberg
2015-04-24rename PhysicalPeerPath -> PeerPhysicalPath to reflect C APIGrant Limberg
2015-04-24update build instructionsGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23set 'build' as the default ant targetGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23removing unneeded jni headersGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23just adjusting some alignmentGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23added infrastructure for Node.peers() and Node.networks() functionsGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
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-23fix field ID signaturesGrant Limberg
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-23Node.networkConfig now only needs to populate the lists of assigned ↵Grant Limberg
addresses and multicast subscriptions and then it's finished 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>
2015-04-23finished the JNI implementation of the status() method on NodeGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23don't require clean before buildGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23fix a build errorGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23Added ant build script. Requires NDK_BUILD_LOC environment variable ↵Grant Limberg
pointing to the ndk-build script fixed compile erros in Node and VirutalNetworkConfig Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-23added functions to create Event, and VirtualNetworkStatus objectsGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22scaffolding for implementation of status() and networkConfig()Grant Limberg
They should be able to be called, but will not return valid objects yet Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22Added implemenation for node.address()Grant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22Added implementation for Node.version()Grant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22fix call to networkConfig to pass the network idGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22Can't instantiate enum objects. Fix createResultObject() function so that ↵Grant Limberg
it still works properly Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22multicastSubscribe() and multicastUnsubscribe()Grant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22join() and leave() functionsGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22added processBackgroundTasks functionGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22added implementation for processWirePacketGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22added a few missing function calls in the ZT1 Node APIGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22delete the ZT1_Node object when calling ↵Grant Limberg
Java_com_zerotierone_sdk_Node_node_1delete Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22add a findNode() function to reduce copypastaGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22added implementation for processVirtualNetworkFrameGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22add assignedAddresses member to VirtualNetworConfig classGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-22* Change a few method signatures from java.lang.Long to long[] so that ↵Grant Limberg
values can be passed back. Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-20Move JNI methods to the bottom of the classGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-20call close() from the Node class's finalize methodGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-20Added JNI code for construction/destruction of ZT1_Node objectsGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-20Updated Java Node class native methods to pass the node IDGrant Limberg
This is so that we know which C-based ZT1_Node struct is being operated on Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-20Generated header files for JNIGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-20first revision of the java API for ZeroTier OneGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-04-20Add build files for compiling ZeroTier One SDK for Android targetsGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>