JNA API 3.0.3
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.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object callback(java.lang.Object[] args)
      This is the callback method invoked from native code.
      java.lang.Class[] getParameterTypes()
      Returns the types of the parameters to the callback method.
      java.lang.Class getReturnType()
      Returns the type of the callback method's return value.
    • Method Detail

      • callback

        java.lang.Object callback(java.lang.Object[] args)
        This is the callback method invoked from native code. It must not throw any exceptions whatsoever.
      • getParameterTypes

        java.lang.Class[] getParameterTypes()
        Returns the types of the parameters to the callback method.
      • getReturnType

        java.lang.Class getReturnType()
        Returns the type of the callback method's return value.
JNA API 3.0.3

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