com.develop.jawin
Class DispatchPtr

java.lang.Object
  extended bycom.develop.jawin.COMPtr
      extended bycom.develop.jawin.UnknownPtr
          extended bycom.develop.jawin.DispatchPtr
All Implemented Interfaces:
DispatchConstants, IUnknown, VarTypes, WellKnownGUIDs

public class DispatchPtr
extends UnknownPtr

Dispatch object holder


Field Summary
static WIN32Thread apartment
           
static int iidToken
          GUID key in the global GUID container
static GUID proxyIID
          IDispatch GUID to be added to the global container
 
Fields inherited from class com.develop.jawin.UnknownPtr
invokeInst, invokeInstU
 
Fields inherited from interface com.develop.jawin.constants.DispatchConstants
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, vtMissing
 
Fields inherited from interface com.develop.jawin.constants.VarTypes
VARIANT_FALSE, VARIANT_TRUE, VT_ARRAY, VT_BLOB, VT_BLOB_OBJECT, VT_BOOL, VT_BSTR, VT_BYREF, VT_CARRAY, VT_CF, VT_CLSID, VT_CY, VT_DATE, VT_DECIMAL, VT_DISPATCH, VT_EMPTY, VT_ERROR, VT_FILETIME, VT_HRESULT, VT_I1, VT_I2, VT_I4, VT_I8, VT_ILLEGAL, VT_ILLEGALMASKED, VT_INT, VT_LPSTR, VT_LPWSTR, VT_NULL, VT_PTR, VT_R4, VT_R8, VT_RESERVED, VT_SAFEARRAY, VT_STORAGE, VT_STORED_OBJECT, VT_STREAM, VT_STREAMED_OBJECT, VT_TYPEMASK, VT_UI1, VT_UI2, VT_UI4, VT_UI8, VT_UINT, VT_UNKNOWN, VT_USERDEFINED, VT_VARIANT, VT_VECTOR, VT_VOID
 
Fields inherited from interface com.develop.jawin.constants.WellKnownGUIDs
IID_IClassFactory, IID_IDispatch, IID_IEnumVariant, IID_IUnknown
 
Constructor Summary
DispatchPtr()
          Default costructor
DispatchPtr(GUID guid)
          Creates the new Dispatch object
DispatchPtr(IUnknown unk)
          Creates the new copy of DispatchPtr Object
DispatchPtr(java.lang.String progid)
          Creates the new DispatchPtr object
 
Method Summary
 int getGuidToken()
          Returns GUID key
 
Methods inherited from class com.develop.jawin.UnknownPtr
addEventListener, close, get, get, getN, getN, getObject, getObject, getTypeInfoToken, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invokeN, invokeN, put, put, put, put, put, put, put, put, put, put, putN, putN, queryInterface, removeEventListener
 
Methods inherited from class com.develop.jawin.COMPtr
comInvoke, enableFTM, getPeer, getUnknown, hasFTM, isNull, stealUnknown, toGITRef, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

apartment

public static WIN32Thread apartment

proxyIID

public static final GUID proxyIID
IDispatch GUID to be added to the global container


iidToken

public static final int iidToken
GUID key in the global GUID container

Constructor Detail

DispatchPtr

public DispatchPtr()
Default costructor


DispatchPtr

public DispatchPtr(java.lang.String progid)
            throws COMException
Creates the new DispatchPtr object

Parameters:
progid - CoClass ProgID
Throws:
COMException - Any exception

DispatchPtr

public DispatchPtr(GUID guid)
            throws COMException
Creates the new Dispatch object

Parameters:
guid - CLSID
Throws:
COMException - Any exception

DispatchPtr

public DispatchPtr(IUnknown unk)
            throws COMException
Creates the new copy of DispatchPtr Object

Parameters:
unk - IUnknown object
Throws:
COMException - Any exception
Method Detail

getGuidToken

public int getGuidToken()
Returns GUID key

Specified by:
getGuidToken in interface IUnknown
Overrides:
getGuidToken in class UnknownPtr
Returns:
GUID key


Composia Soft Ltd. Designed by Vitally Shelest. .