|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Callback
$Id: Callback.java,v 1.6 2006/12/07 21:44:31 mdenty Exp $
Callback.java
This software is released under the LGPL.
Method Summary | |
---|---|
int |
callback(long[] values)
Method callback |
int |
getCallbackAddress()
This method should call JNative.createCallback() AND MUST allow multiple calls Something like : abstract class MyCallback implements Callback { private int myAddress = -1; public int getCallbackAddress() throws NativeException { if(myAddress == -1) { myAddress = JNative.createCallback(numParam, this); } return myAddress; } } |
Method Detail |
---|
int callback(long[] values)
values
- an long[]
int getCallbackAddress() throws NativeException
Something like :
abstract class MyCallback implements Callback { private int myAddress = -1; public int getCallbackAddress() throws NativeException { if(myAddress == -1) { myAddress = JNative.createCallback(numParam, this); } return myAddress; } }
NativeException
|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |