Top Description Fields Methods
com.sun.jna

public Interface CallbackProxy

extends Callback
Known Direct Implementers
com.sun.jna.CallbackReference.DefaultCallbackProxy

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 callback method.

Field Summary

Inherited from com.sun.jna.Callback:
FORBIDDEN_NAMESMETHOD_NAME

Method Summary

Modifier and TypeMethod and Description
public Object
callback(Object[] args)

This is the callback method invoked from native code.

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.

Method Detail

callbackback to summary
public Object callback(Object[] args)

This is the callback method invoked from native code. It must not throw any exceptions whatsoever.

getParameterTypesback to summary
public Class<?>[] getParameterTypes()

Returns the types of the parameters to the callback method.

getReturnTypeback to summary
public Class<?> getReturnType()

Returns the type of the callback method's return value.