|
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 |
java.lang.Objectorg.xvolks.test.callbacks.EnumCallback
public class EnumCallback
$Id: EnumCallback.java,v 1.5 2006/10/15 10:24:52 mdenty Exp $ This software is released under the LGPL.
Constructor Summary | |
---|---|
EnumCallback()
|
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; } } |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnumCallback()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int callback(long[] values)
callback
in interface Callback
values
- an long[]
public int getCallbackAddress() throws NativeException
Callback
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; } }
getCallbackAddress
in interface Callback
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 |