You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
371 B
21 lines
371 B
package org.pEp.jniadapter;
|
|
|
|
public class Engine implements AutoCloseable {
|
|
static {
|
|
System.loadLibrary("pEpJNI");
|
|
}
|
|
|
|
protected native void init() throws pEpException;
|
|
protected native void release();
|
|
|
|
private long handle;
|
|
|
|
public Engine() throws pEpException {
|
|
init();
|
|
}
|
|
|
|
public void close() {
|
|
release();
|
|
}
|
|
}
|
|
|
|
|