| Modifier and Type | Field and Description |
|---|---|
| pack-priv Class | |
| pack-priv IComEventCallbackListener | |
| private static boolean | |
| private static byte | |
| private static double | |
| private static float | |
| private static int | |
| private static long | |
| private static short | |
| public DispatchListener | |
| pack-priv Map | |
| pack-priv ObjectFactory | |
| pack-priv Guid. |
| Access | Constructor and Description |
|---|---|
| public | CallbackProxy(ObjectFactory factory, Class<?> comEventCallbackInterface, IComEventCallbackListener comEventCallbackListener)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| private Map | |
| private Guid. | |
| private int | fetchDispIdFromName(ComEventCallback annotation)
Deprecated
as a consequence of
ComEventCallback being deprecated.
|
| public WinNT. | GetIDsOfNames(Guid.
Reserved for future use. Must be IID_NULL. riid,The array of names to be mapped. rgszNames, int The count of the names to be mapped. cNames, WinDef.The locale context in which to interpret the names. lcid,Caller-allocated array, each element of which contains an identifier (ID) corresponding to one of the names passed in
the rgszNames array. The first element represents the member name. The subsequent elements represent each of the member's parameters. rgDispIdImplements com. |
| public Pointer | |
| public WinNT. | GetTypeInfo(WinDef.
The type information to return. Pass 0 to retrieve type information for the IDispatch implementation. iTInfo,The locale identifier for the type information.
An object may be able to return different type information for different languages. This is important
for classes that support localized member names. For classes that do not support localized member names,
this parameter can be ignored. lcid,The requested type information object. ppTInfo)Implements com. |
| public WinNT. | GetTypeInfoCount(WinDef.
The number of type information interfaces provided by the object. If the object provides type information, this number is 1; otherwise the number is 0. pctinfoImplements com. |
| public WinNT. | Invoke(OaIdl.
Identifies the member. Use GetIDsOfNames or the object's documentation to obtain the dispatch identifier. dispIdMember,Reserved for future use. Must be IID_NULL. riid,The locale context in which to interpret arguments. The lcid is used by the GetIDsOfNames function, and is also
passed to Invoke to allow the object to interpret its arguments specific to a locale.
lcid,Applications that do not support multiple national languages can ignore this parameter. For more information, refer to Supporting Multiple National Languages and Exposing ActiveX Objects. Flags describing the context of the Invoke call.
DISPATCH_METHOD
The member is invoked as a method. If a property has the same name, both this and the DISPATCH_PROPERTYGET flag can be set.
DISPATCH_PROPERTYGET
The member is retrieved as a property or data member.
DISPATCH_PROPERTYPUT
The member is changed as a property or data member.
DISPATCH_PROPERTYPUTREF
The member is changed by a reference assignment, rather than a value assignment. This flag is valid only when the property accepts a reference to an object. wFlags,Pointer to a DISPPARAMS structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays. pDispParams,Pointer to the location where the result is to be stored, or NULL if the caller expects no result. This argument is ignored if DISPATCH_PROPERTYPUT or DISPATCH_PROPERTYPUTREF is specified. pVarResult,Pointer to a structure that contains exception information. This structure should be filled in if DISP_E_EXCEPTION is returned. Can be NULL. pExcepInfo,The index within rgvarg of the first argument that has an error. Arguments are stored in pDispParams->rgvarg in reverse order,
so the first argument is the one with the highest index in the array. This parameter is returned only when the resulting return
value is DISP_E_TYPEMISMATCH or DISP_E_PARAMNOTFOUND. This argument can be set to null. For details, see Returning Errors. puArgErr)Implements com. |
| pack-priv void | invokeOnThread(final OaIdl.
|
| public WinNT. | QueryInterface(Guid.
Implements com. |
| public int |
| comEventCallbackInterface | back to summary |
|---|---|
| pack-priv Class<?> comEventCallbackInterface | |
| comEventCallbackListener | back to summary |
|---|---|
| pack-priv IComEventCallbackListener comEventCallbackListener | |
| DEFAULT_BOOLEAN | back to summary |
|---|---|
| private static boolean DEFAULT_BOOLEAN | |
| DEFAULT_BYTE | back to summary |
|---|---|
| private static byte DEFAULT_BYTE | |
| DEFAULT_DOUBLE | back to summary |
|---|---|
| private static double DEFAULT_DOUBLE | |
| DEFAULT_FLOAT | back to summary |
|---|---|
| private static float DEFAULT_FLOAT | |
| DEFAULT_INT | back to summary |
|---|---|
| private static int DEFAULT_INT | |
| DEFAULT_LONG | back to summary |
|---|---|
| private static long DEFAULT_LONG | |
| DEFAULT_SHORT | back to summary |
|---|---|
| private static short DEFAULT_SHORT | |
| dispatchListener | back to summary |
|---|---|
| public DispatchListener dispatchListener | |
| dsipIdMap | back to summary |
|---|---|
| pack-priv Map<OaIdl. | |
| factory | back to summary |
|---|---|
| pack-priv ObjectFactory factory | |
| listenedToRiid | back to summary |
|---|---|
| pack-priv Guid. | |
| CallbackProxy | back to summary |
|---|---|
| public CallbackProxy(ObjectFactory factory, Class<?> comEventCallbackInterface, IComEventCallbackListener comEventCallbackListener) | |
| AddRef | back to summary |
|---|---|
| public int AddRef() Implements com.
| |
| createDispIdMap | back to summary |
|---|---|
private Map
| |
| createRIID | back to summary |
|---|---|
| private Guid. | |
| fetchDispIdFromName | back to summary |
|---|---|
| private int fetchDispIdFromName(ComEventCallback annotation)
Deprecated as a consequence of | |
| GetIDsOfNames | back to summary |
|---|---|
| public WinNT. Implements com. Doc from com. Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs, which can be used on subsequent calls to Invoke. The dispatch function DispGetIDsOfNames provides a standard implementation of GetIDsOfNames.
| |
| getPointer | back to summary |
|---|---|
| public Pointer getPointer() Implements com.
| |
| GetTypeInfo | back to summary |
|---|---|
| public WinNT. Implements com. Doc from com. Retrieves the type information for an object, which can then be used to get the type information for an interface.
| |
| GetTypeInfoCount | back to summary |
|---|---|
| public WinNT. Implements com. Doc from com. Retrieves the number of type information interfaces that an object provides (either 0 or 1).
| |
| Invoke | back to summary |
|---|---|
| public WinNT. Implements com. Doc from com. Provides access to properties and methods exposed by an object. The dispatch function DispInvoke provides a standard implementation of Invoke.
| |
| invokeOnThread | back to summary |
|---|---|
| pack-priv void invokeOnThread(final OaIdl. | |
| QueryInterface | back to summary |
|---|---|
| public WinNT. Implements com.
| |
| Release | back to summary |
|---|---|
| public int Release() Implements com.
| |