com.moesol.bindings.platform_sdk.component_services
Class ComDispatchSink
java.lang.Object
com.moesol.bindings.platform_sdk.component_services.ComObject
com.moesol.bindings.platform_sdk.component_services.ComDispatchSink
- All Implemented Interfaces:
- IDispatch, IUnknown
- Direct Known Subclasses:
- ComDelegatingSink
public abstract class ComDispatchSink
- extends ComObject
- implements IDispatch
Provides a simple implementation of IDispatch that can be used
to send all IDispatch::Invoke calls to a subclass implementation
of Invoke. Responds with S_OK when QueryInterface is called for
diid
.
Method Summary |
abstract int |
Invoke(int dispIdMember,
GUID riid,
long lcid,
int flags,
Object[] dispParams,
Object[] varResult,
long[] argErr)
Called when a native client uses IDispatch::Invoke. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComDispatchSink
public ComDispatchSink(GUID diid)
Invoke
public abstract 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.
- Overrides:
Invoke
in class ComObject
- Returns:
- HRESULT
Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.