1 | // tlb2java |
2 | package com.moesol.tests.com_server; |
3 | |
4 | |
5 | /** |
6 | * <code>IDL: [ helpstring("DispWithProperties"), dispatchable ] interface</code> |
7 | <!-- /xjavadoc/library[@name='COMSERVERLib']/dispatch[@name='DispWithProperties']/javadoc/node()--> |
8 | */ |
9 | public interface DispWithProperties extends com.moesol.bindings.platform_sdk.component_services.IDispatch { |
10 | public static final Class TYPELIB = TYPELIB_E149EE62_34AE_4D0A_B9E2_3ACA3FAD59F8.class; |
11 | /** |
12 | * <code>IDL: [uuid(98463109-7270-4922-9BF1-87EDDF5D11C3)]</code> |
13 | */ |
14 | public static final com.moesol.bindings.platform_sdk.component_services.GUID IID = new com.moesol.bindings.platform_sdk.component_services.GUID( |
15 | 0x98463109, (short)0x7270, (short)0x4922, |
16 | new byte[] { |
17 | (byte)0x9b, (byte)0xf1, |
18 | (byte)0x87, (byte)0xed, (byte)0xdf, (byte)0x5d, (byte)0x11, (byte)0xc3 |
19 | } ); |
20 | |
21 | /** |
22 | * <code>IDL: [ helpstring("") ]</code> |
23 | <!-- /xjavadoc/library[@name='COMSERVERLib']/dispatch[@name='DispWithProperties']/method[@name='Method']/javadoc/node()--> |
24 | * |
25 | * @param aInt |
26 | * <code>IDL: [in] INT</code> |
27 | <!-- /xjavadoc/library[@name='COMSERVERLib']/dispatch[@name='DispWithProperties']/method[@name='Method']/param[@name='aInt']/javadoc/node()--> |
28 | * @param aBstr |
29 | * <code>IDL: [in] BSTR</code> |
30 | <!-- /xjavadoc/library[@name='COMSERVERLib']/dispatch[@name='DispWithProperties']/method[@name='Method']/param[@name='aBstr']/javadoc/node()--> |
31 | * @param aShort |
32 | * <code>IDL: [in] SHORT</code> |
33 | <!-- /xjavadoc/library[@name='COMSERVERLib']/dispatch[@name='DispWithProperties']/method[@name='Method']/param[@name='aShort']/javadoc/node()--> |
34 | */ |
35 | public void Method( |
36 | /*[in]*/ int aInt, |
37 | /*[in]*/ String aBstr, |
38 | /*[in]*/ short aShort); |
39 | |
40 | |
41 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
42 | public static class Jni extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni implements DispWithProperties { |
43 | |
44 | protected Jni () { |
45 | } |
46 | protected void internalOnSetInterface() { |
47 | MoeSolInternal.recordApartment(this); |
48 | } |
49 | |
50 | |
51 | //readonlyInt |
52 | //aBstr |
53 | //Short |
54 | private native void jni_Method( |
55 | /*[in]*/ int p0, |
56 | /*[in]*/ String p1, |
57 | /*[in]*/ short p2); |
58 | public void Method( |
59 | /*[in]*/ int p0, |
60 | /*[in]*/ String p1, |
61 | /*[in]*/ short p2) { |
62 | |
63 | MoeSolInternal.checkApartment(this); |
64 | jni_Method(p0, p1, p2); |
65 | } |
66 | |
67 | } |
68 | |
69 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
70 | public static class Disp extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Disp { |
71 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
72 | return s_instance; |
73 | } |
74 | |
75 | private static Disp s_instance = new Disp(); |
76 | |
77 | protected Disp() { |
78 | addEntry(3, (short)1, "Method", "(ILjava/lang/String;S)V"); |
79 | } |
80 | } |
81 | } |