CallbackProxy (JNA API)

Overview | Package | Class | Tree | Deprecated | Index | Help
| JNA API 3.3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jna
Interface CallbackProxy

All Superinterfaces:
  Callback

    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 `callback(java.lang.Object[])` method.

Nested Class Summary

Nested classes/interfaces inherited from interface com.sun.jna.Callback
`Callback.UncaughtExceptionHandler`

Field Summary

Fields inherited from interface com.sun.jna.Callback
`FORBIDDEN_NAMES, METHOD_NAME`

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.

Method Detail

### callback

    Object callback(Object[] args)

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

### getParameterTypes

    Class[] getParameterTypes()

  Returns the types of the parameters to the callback method.

### getReturnType

    Class getReturnType()

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

Overview | Package | Class | Tree | Deprecated | Index | Help
| JNA API 3.3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007-2010 Timothy Wall. All Rights Reserved.