Class Cache

    • Constructor Detail

      • Cache

        public Cache​(com.jacob.com.Dispatch dispatch,
                     boolean useTimeout,
                     Caches.CacheType type)
        Instantiates a new Cache.

        This constructor is used instead of a case operation to turn a Dispatch object into a wider object - it must exist in every wrapper class whose instances may be returned from method calls wrapped in VT_DISPATCH Variants.

        Parameters:
        dispatch - the dispatch
        useTimeout - specifies whether to apply timeout
        type - the cache type