Grant Limberg
|
52a20b4b0f
|
create PeerRole and PeerPhysicalPath objects
|
11 years ago |
Grant Limberg
|
f3c29d3f0d
|
rename PhysicalPeerPath -> PeerPhysicalPath to reflect C API
|
11 years ago |
Grant Limberg
|
b3429481cd
|
update build instructions
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
1a65a79e57
|
set 'build' as the default ant target
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
6dd3c07b25
|
removing unneeded jni headers
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
1df6bc6bc3
|
just adjusting some alignment
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
9ab7280703
|
added infrastructure for Node.peers() and Node.networks() functions
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
7f6556eba0
|
node.networkConfig() now creates ArrayLists of multicast subscriptions and assigned addresses
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
1bea940323
|
fix field ID signatures
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
6ff2e6ecfe
|
move findNode method back
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
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
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
46adf870a1
|
move utility functions from anon namespace to ZT1_jniutils
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
4906f8e848
|
added stub utility functions for creating ArrayLists, appending items to ArrayLists, creating InetAddress objects, and MulticastGroup objects
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
fa9d42b7e5
|
finished the JNI implementation of the status() method on Node
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
1a528aec76
|
don't require clean before build
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
ffb9e2901e
|
fix a build error
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
407e2fc7de
|
Added ant build script. Requires NDK_BUILD_LOC environment variable pointing to the ndk-build script
fixed compile erros in Node and VirutalNetworkConfig
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
667a103a6a
|
added functions to create Event, and VirtualNetworkStatus objects
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
32a35e6808
|
scaffolding for implementation of status() and networkConfig()
They should be able to be called, but will not return valid objects yet
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
34028aa7c8
|
Added implemenation for node.address()
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
3ccaef88b7
|
Added implementation for Node.version()
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
f5bb57d5aa
|
fix call to networkConfig to pass the network id
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
a1a35e0279
|
Can't instantiate enum objects. Fix createResultObject() function so that it still works properly
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
1308f02b93
|
multicastSubscribe() and multicastUnsubscribe()
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
b078d69372
|
join() and leave() functions
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
e31e54483c
|
added processBackgroundTasks function
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
3c499777c8
|
added implementation for processWirePacket
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
9c038d3ecd
|
added a few missing function calls in the ZT1 Node API
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
6187a91f4c
|
delete the ZT1_Node object when calling Java_com_zerotierone_sdk_Node_node_1delete
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
321b67c73c
|
add a findNode() function to reduce copypasta
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
5df253fa69
|
added implementation for processVirtualNetworkFrame
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
3a6807d584
|
add assignedAddresses member to VirtualNetworConfig class
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
787b4a8e50
|
* Change a few method signatures from java.lang.Long to long[] so that values can be passed back.
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
0c8051da15
|
Move JNI methods to the bottom of the class
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
e0c8ddb65b
|
call close() from the Node class's finalize method
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
bd4049fdc0
|
Added JNI code for construction/destruction of ZT1_Node objects
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
5f314f209e
|
Updated Java Node class native methods to pass the node ID
This is so that we know which C-based ZT1_Node struct is being operated on
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
99a1a4e65b
|
Generated header files for JNI
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
ec3a1c87d1
|
first revision of the java API for ZeroTier One
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |
Grant Limberg
|
f40eb665c5
|
Add build files for compiling ZeroTier One SDK for Android targets
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
11 years ago |