## Uses of Class
com.jacob.com.Dispatch

Packages that use Dispatch
com.jacob.activeX
com.jacob.com

### Uses of Dispatch in com.jacob.activeX

Subclasses of Dispatch in com.jacob.activeX
`class` `ActiveXComponent` This class provides a higher level, more object like, wrapper for top of the Dispatch object.

Methods in com.jacob.activeX that return Dispatch
`Dispatch` ActiveXComponent.`getObject()` Probably was a cover for something else in the past.

Methods in com.jacob.activeX with parameters of type Dispatch
`void` ActiveXComponent.`setProperty(java.lang.String propertyName, Dispatch arg)` sets a property on this object

Constructors in com.jacob.activeX with parameters of type Dispatch
Constructor and Description
`ActiveXComponent(Dispatch dispatchToBeWrapped)` Creates an active X component that is built on top of the COM pointers held in the passed in dispatch.
`ActiveXDispatchEvents(Dispatch sourceOfEvent, java.lang.Object eventSink)` This is the most commonly used constructor.
`ActiveXDispatchEvents(Dispatch sourceOfEvent, java.lang.Object eventSink, java.lang.String progId)` None of the samples use this constructor.
`ActiveXDispatchEvents(Dispatch sourceOfEvent, java.lang.Object eventSink, java.lang.String progId, java.lang.String typeLib)` Creates the event callback linkage between the the MS program represented by the Dispatch object and the Java object that will receive the callback.

### Uses of Dispatch in com.jacob.com

Methods in com.jacob.com that return Dispatch
`Dispatch` Variant.`getDispatch()` cover for `Variant.toDispatch()` This method now matches other getXXX() methods.
`Dispatch` Variant.`getDispatchRef()` Dispatch and dispatchRef are treated the same This is just a cover for toDispatch() with a flag check
`Dispatch` Dispatch.`QueryInterface(java.lang.String iid)` Return a different interface by IID string.
`Dispatch` Variant.`toDispatch()`
`Dispatch` DispatchProxy.`toDispatch()`

Methods in com.jacob.com with parameters of type Dispatch
`static Variant` Dispatch.`call(Dispatch dispatchTarget, int dispid)`
`static Variant` Dispatch.`call(Dispatch dispatchTarget, int dispid, java.lang.Object... attributes)`
`static Variant` Dispatch.`call(Dispatch dispatchTarget, java.lang.String name)`
`static Variant` Dispatch.`call(Dispatch dispatchTarget, java.lang.String name, java.lang.Object... attributes)`
`static Variant` Dispatch.`callN_CaseSensitive(Dispatch dispatchTarget, java.lang.String name, java.lang.Object[] values)` not implemented yet
`static Variant` Dispatch.`callN(Dispatch dispatchTarget, int dispID, java.lang.Object... args)`
`static Variant` Dispatch.`callN(Dispatch dispatchTarget, java.lang.String name, java.lang.Object... args)`
`static void` Dispatch.`callSub(Dispatch dispatchTarget, int dispid)` makes call to native callSubN
`static void` Dispatch.`callSub(Dispatch dispatchTarget, int dispid, java.lang.Object... attributes)` makes call to native callSubN
`static void` Dispatch.`callSub(Dispatch dispatchTarget, java.lang.String name)` makes call to native callSubN
`static void` Dispatch.`callSub(Dispatch dispatchTarget, java.lang.String name, java.lang.Object... attributes)` makes call to native callSubN
`static void` Dispatch.`callSubN(Dispatch dispatchTarget, int dispID, java.lang.Object... args)`
`static void` Dispatch.`callSubN(Dispatch dispatchTarget, java.lang.String name, java.lang.Object... args)`
`static Variant` Dispatch.`get_CaseSensitive(Dispatch dispatchTarget, java.lang.String name)` not implemented yet
`static Variant` Dispatch.`get(Dispatch dispatchTarget, int dispid)` Cover for call to underlying invokev()
`static Variant` Dispatch.`get(Dispatch dispatchTarget, java.lang.String name)` Cover for call to underlying invokev()
`static int` Dispatch.`getIDOfName(Dispatch dispatchTarget, java.lang.String name)`
`static int[]` Dispatch.`getIDsOfNames(Dispatch dispatchTarget, int lcid, java.lang.String[] names)`
`static int[]` Dispatch.`getIDsOfNames(Dispatch dispatchTarget, java.lang.String[] names)`
`static int` Dispatch.`hasExited(Dispatch dispatchTarget)` The method is used to poll until it returns 1, indicating that the COM server in gone.
`static int` Dispatch.`hasExited(Dispatch disp, int dispid, int lcid)` Cover for native method
`static Variant` Dispatch.`invoke(Dispatch dispatchTarget, int dispID, int wFlags, java.lang.Object[] oArg, int[] uArgErr)`
`static Variant` Dispatch.`invoke(Dispatch dispatchTarget, java.lang.String name, int dispID, int lcid, int wFlags, java.lang.Object[] oArg, int[] uArgErr)`
`static Variant` Dispatch.`invoke(Dispatch dispatchTarget, java.lang.String name, int wFlags, java.lang.Object[] oArg, int[] uArgErr)`
`static void` Dispatch.`invokeSub(Dispatch dispatchTarget, int dispid, int wFlags, java.lang.Object[] oArg, int[] uArgErr)`
`static void` Dispatch.`invokeSub(Dispatch dispatchTarget, java.lang.String name, int dispid, int lcid, int wFlags, java.lang.Object[] oArg, int[] uArgErr)`
`static void` Dispatch.`invokeSub(Dispatch dispatchTarget, java.lang.String name, int wFlags, java.lang.Object[] oArg, int[] uArgErr)`
`static void` Dispatch.`invokeSubv(Dispatch dispatchTarget, int dispID, int wFlags, Variant[] vArg, int[] uArgErr)`
`static void` Dispatch.`invokeSubv(Dispatch dispatchTarget, java.lang.String name, int dispID, int lcid, int wFlags, Variant[] vArg, int[] uArgErr)`
`static void` Dispatch.`invokeSubv(Dispatch dispatchTarget, java.lang.String name, int wFlags, Variant[] vArg, int[] uArgErr)`
`static Variant` Dispatch.`invokev(Dispatch dispatchTarget, int dispID, int wFlags, Variant[] vArg, int[] uArgErr)`
`static Variant` Dispatch.`invokev(Dispatch dispatchTarget, java.lang.String name, int dispID, int lcid, int wFlags, Variant[] vArg, int[] uArgErr)`
`static Variant` Dispatch.`invokev(Dispatch dispatchTarget, java.lang.String name, int wFlags, Variant[] vArg, int[] uArgErr)`
`static Variant` Dispatch.`invokev(Dispatch dispatchTarget, java.lang.String name, int wFlags, Variant[] vArg, int[] uArgErr, int wFlagsEx)`
`static void` Dispatch.`put_Casesensitive(Dispatch dispatchTarget, java.lang.String name, java.lang.Object val)` not implemented yet
`static void` Dispatch.`put(Dispatch dispatchTarget, int dispid, java.lang.Object val)`
`static void` Dispatch.`put(Dispatch dispatchTarget, java.lang.String name, java.lang.Object val)`
`void` Variant.`putDispatch(Dispatch in)` This acts a cover for putVariant Dispatch.
`void` Variant.`putDispatchRef(Dispatch in)` Dispatch and dispatchRef are treated the same This is a cover for putVariantDispatch().
`static void` Dispatch.`putRef(Dispatch dispatchTarget, int dispid, java.lang.Object val)` cover for underlying call to invoke
`static void` Dispatch.`putRef(Dispatch dispatchTarget, java.lang.String name, java.lang.Object val)` cover for underlying call to invoke

Constructors in com.jacob.com with parameters of type Dispatch
Constructor and Description
`Dispatch(Dispatch dispatchToBeDisplaced)` Constructor to be used by subclass that want to swap themselves in for the default Dispatch class.
`DispatchEvents(Dispatch sourceOfEvent, java.lang.Object eventSink)` This is the most commonly used constructor.
`DispatchEvents(Dispatch sourceOfEvent, java.lang.Object eventSink, java.lang.String progId)` None of the samples use this constructor.
`DispatchEvents(Dispatch sourceOfEvent, java.lang.Object eventSink, java.lang.String progId, java.lang.String typeLib)` Creates the event callback linkage between the the MS program represented by the Dispatch object and the Java object that will receive the callback.
`DispatchProxy(Dispatch localDispatch)` Marshals the passed in dispatch into the stream
`EnumVariant(Dispatch disp)`