Minor change to API (renamed get_device_id to get_id). More complete Scala binding

This commit is contained in:
Joseph Henry
2017-10-16 15:12:37 -07:00
parent e8f1a4db73
commit fdd6010456
13 changed files with 288 additions and 76 deletions

View File

@@ -26,7 +26,7 @@
// Simple Java example for libzt using JNI
import zerotier.*;
import zerotier.ZeroTier;
public class ExampleApp {
@@ -43,8 +43,8 @@ public class ExampleApp {
new Thread(new Runnable() {
public void run() {
System.out.println("starting libzt");
z.startjoin("/Users/joseph/op/zt/libzt/ztjni", "1212121212121212");
System.out.println("starting libzt");
z.startjoin("/Users/joseph/op/zt/libzt/ztjni", "1212121212121212");
// start(path) will not block
// startjoin(path, nwid) will block
}