com.moesol.bindings.platform_sdk.component_services
Class ComDelegatingSink
java.lang.Object
com.moesol.bindings.platform_sdk.component_services.ComObject
com.moesol.bindings.platform_sdk.component_services.ComDispatchSink
com.moesol.bindings.platform_sdk.component_services.ComDelegatingSink
- All Implemented Interfaces:
- IDispatch, IUnknown
public class ComDelegatingSink
- extends ComDispatchSink
Delegate native IDispatch::Invoke calls to a pure java implementation
of a dispatch based event sink.
Method Summary |
int |
Invoke(int dispIdMember,
GUID riid,
long lcid,
int flags,
Object[] dispParams,
Object[] varResult,
long[] argErr)
Called when a native client uses IDispatch::Invoke. |
static int |
Invoke(IUnknown javaSink,
int dispIdMember,
GUID riid,
long lcid,
int flags,
Object[] dispParams,
Object[] varResult,
long[] argErr)
Helper method that tries to call a method on the javaSink based on the
call information passed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComDelegatingSink
public ComDelegatingSink(GUID diid,
IUnknown javaSink)
Invoke
public int Invoke(int dispIdMember,
GUID riid,
long lcid,
int flags,
Object[] dispParams,
Object[] varResult,
long[] argErr)
- Description copied from class:
ComObject
- Called when a native client uses IDispatch::Invoke. The default implementation tries
to route the call to the correct interface/method. You can override this method if you
want to dispatch calls based on their dispIdMember.
- Specified by:
Invoke
in class ComDispatchSink
- Returns:
- HRESULT
Invoke
public static int Invoke(IUnknown javaSink,
int dispIdMember,
GUID riid,
long lcid,
int flags,
Object[] dispParams,
Object[] varResult,
long[] argErr)
- Helper method that tries to call a method on the javaSink based on the
call information passed.
- Parameters:
javaSink
- dispIdMember
- riid
- lcid
- flags
- dispParams
- varResult
- argErr
-
- Returns:
- HRESULT
Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.