com.sun.jna
Interface CallbackProxy
public
interface
CallbackProxy
extends Callback
Placeholder proxy interface to allow an InvocationHandler to convert
arguments/return values on callback methods. This is a special sub-interface
of
Callback which expects its arguments in a single Object array
passed to its
CallbackProxy method.
Method Summary |
Object | callback(Object[] args) This is the callback method invoked from native code.
|
Class[] | getParameterTypes() Returns the types of the parameters to the callback method. |
Class | getReturnType() Returns the type of the callback method's return value. |
public Object callback(Object[] args)
This is the callback method invoked from native code.
It must not throw any exceptions whatsoever.
public Class[] getParameterTypes()
Returns the types of the parameters to the callback method.
public Class getReturnType()
Returns the type of the callback method's return value.
Copyright © 2007-2009 Timothy Wall. All Rights Reserved.