Closed sssemil closed 8 years ago
APIs to start and kill cjdroute, and get peerStats type of info?
It can be used to run all C code. But we can used binary executables anyway.
I thought about going through JNI too, but I don't know enough about that vs. binary executables to say what we'd gain from it. I guess a cleaner API with proper typing? I am definitely open to it. Let's keep this ticket here.
Better to stick with the binary executable -- using JNI means running cjdroute within the Java process, so we'd lose many security features (SSP, Seccomp, chroot, dropping privilieges)
What about using JNI instead of binary executable?