Grant Limberg
|
9c62ce9e6f
|
implemented EventCallback
All callback methods are now implemented
|
2015-04-24 20:13:21 -07:00 |
|
Grant Limberg
|
f2eed5a65f
|
implemented WirePacketSendFunction
|
2015-04-24 19:43:17 -07:00 |
|
Grant Limberg
|
5e1fb4e253
|
Realized that the jclass and jmethodID variables in the callbacks cannot be static
There's no guarantee that ALL calls to the callbacks will be on the same class as they're just interfaces and user defined
|
2015-04-24 19:35:18 -07:00 |
|
Grant Limberg
|
dc00ce4f44
|
added DataStorePutFunction implementation
updated DataStorePutListener to also have an onDelete() method
|
2015-04-24 19:28:44 -07:00 |
|
Grant Limberg
|
53ebd5a9a5
|
don't need to pass buffer size because java arrays have a .length member
|
2015-04-24 19:14:59 -07:00 |
|
Grant Limberg
|
d5fc2b39aa
|
implemented DataStoreGetFunction callback
|
2015-04-24 19:11:49 -07:00 |
|
Grant Limberg
|
4137246653
|
implemented VirtualNetworkFrameFunctionCallback
|
2015-04-24 18:49:52 -07:00 |
|
Grant Limberg
|
28168fa673
|
implement VirtualNetworkConfigFunctionCallback
|
2015-04-24 18:39:17 -07:00 |
|
Grant Limberg
|
99af0f3a88
|
moved creation of VirtualNetworkConfig objects to ZT1_jniutils
added implementation of networks() method
|
2015-04-24 18:20:10 -07:00 |
|
Grant Limberg
|
6f07a476a6
|
create and return the peer array
|
2015-04-24 18:06:26 -07:00 |
|
Grant Limberg
|
1df6bc6bc3
|
just adjusting some alignment
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-23 23:09:30 -07:00 |
|
Grant Limberg
|
9ab7280703
|
added infrastructure for Node.peers() and Node.networks() functions
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-23 23:08:28 -07:00 |
|
Grant Limberg
|
7f6556eba0
|
node.networkConfig() now creates ArrayLists of multicast subscriptions and assigned addresses
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-23 22:48:56 -07:00 |
|
Grant Limberg
|
1bea940323
|
fix field ID signatures
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-23 22:47:56 -07:00 |
|
Grant Limberg
|
6ff2e6ecfe
|
move findNode method back
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-23 22:46:54 -07:00 |
|
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>
|
2015-04-23 21:43:16 -07:00 |
|
Grant Limberg
|
46adf870a1
|
move utility functions from anon namespace to ZT1_jniutils
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-23 21:39:07 -07:00 |
|
Grant Limberg
|
fa9d42b7e5
|
finished the JNI implementation of the status() method on Node
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-23 20:52:47 -07:00 |
|
Grant Limberg
|
667a103a6a
|
added functions to create Event, and VirtualNetworkStatus objects
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-23 19:16:45 -07:00 |
|
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>
|
2015-04-22 21:31:17 -07:00 |
|
Grant Limberg
|
34028aa7c8
|
Added implemenation for node.address()
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-22 21:30:37 -07:00 |
|
Grant Limberg
|
3ccaef88b7
|
Added implementation for Node.version()
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-22 21:29:45 -07:00 |
|
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>
|
2015-04-22 21:14:55 -07:00 |
|
Grant Limberg
|
1308f02b93
|
multicastSubscribe() and multicastUnsubscribe()
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-22 20:33:38 -07:00 |
|
Grant Limberg
|
b078d69372
|
join() and leave() functions
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-22 20:29:34 -07:00 |
|
Grant Limberg
|
e31e54483c
|
added processBackgroundTasks function
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-22 20:25:35 -07:00 |
|
Grant Limberg
|
3c499777c8
|
added implementation for processWirePacket
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-22 20:21:12 -07:00 |
|
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>
|
2015-04-22 19:29:45 -07:00 |
|
Grant Limberg
|
321b67c73c
|
add a findNode() function to reduce copypasta
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-22 19:29:13 -07:00 |
|
Grant Limberg
|
5df253fa69
|
added implementation for processVirtualNetworkFrame
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-22 19:19:45 -07:00 |
|
Grant Limberg
|
bd4049fdc0
|
Added JNI code for construction/destruction of ZT1_Node objects
Signed-off-by: Grant Limberg <glimberg@gmail.com>
|
2015-04-20 20:33:42 -07:00 |
|