org.rococoa.internal
Class MsgSendInvocationMapper
java.lang.Object
org.rococoa.internal.MsgSendInvocationMapper
- All Implemented Interfaces:
- com.sun.jna.InvocationMapper
public class MsgSendInvocationMapper
- extends Object
- implements com.sun.jna.InvocationMapper
A JNA InvocationMapper that maps calls to syntheticSendMessage to a MsgSendHandler.
This allows us to dispatch all calls to syntheticSendMessage and have MsgSendHandler
call objc_msgSend or objc_msgSend_stret as appropriate, casting the return
type appropriately.
- Author:
- duncan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MsgSendInvocationMapper
public MsgSendInvocationMapper()
getInvocationHandler
public InvocationHandler getInvocationHandler(com.sun.jna.NativeLibrary lib,
Method m)
- Specified by:
getInvocationHandler
in interface com.sun.jna.InvocationMapper
Copyright © 2012. All Rights Reserved.