[Kde-java] Re: [Kde-bindings] Using a custom RealProxy to
implement a C# SMOKE adaptor
Marco Ladermann
marco.ladermann at gmx.de
Tue Aug 26 12:23:13 CEST 2003
Am Dienstag, 26. August 2003 10:34 schrieb Gert-Jan van der Heiden:
> Doesn't SmokeInvocation need to use jni too, if it wants to access Smoke?
> Then the proxy invocations take even longer...
<snip/>
> public void setSize(int size){
> this.smokeInvocation.invoke("setSize",{new Integer(size)});
> }
I second that. The SmokeInvocation object must discriminate the method call's
anyway, so why not do that already in the calling Java object? If not
Gert-Jan's suggestion, then
public void setSize(int size){
this.smokeInvocation.invoke("setSize",
{ int.class },
{new Integer(size)});
}
to provide the complete signature to the SmokeInvocation object.
Marco
--
More information about the Kde-java
mailing list