Compartir a través de


IWMSCacheProxy Interface

The IWMSCacheProxy interface contains methods that administer a cache and specify cache policy. This interface is implemented by a cache plug-in and called by the server.

Note

   This interface is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.

In addition to the methods inherited from IUnknown, the IWMSCacheProxy interface exposes the following methods.

Method

Description

AddCacheItem

Adds content to a cache.

CreateCacheItemCollection

Called by the server to create an IWMSCacheItemCollectionIWMSCacheItemCollection Interface and retrieve a pointer to it.

FindCacheItem

Called by the server to retrieve an IWMSCacheItemDescriptorIWMSCacheItemDescriptor Interface that contains information about a specific cache item.

OnCacheClientClose

Called by the server to indicate that a client has finished streaming content.

QueryCache

Called by the server to direct the cache plug-in to search the cache for specific content.

QueryCacheMissPolicy

Called by the server to direct the cache plug-in to specify its cache-miss policy.

QuerySpaceForCacheItem

Called by the server to retrieve a Boolean value indicating whether the cache has adequate storage for a specific content item.

RemoveAllCacheItems

Called by the server to remove all content from the cache.

RemoveCacheItem

Called by the server to remove a specific cache item.

See Also

Concepts

Custom Plug-in Interfaces (C++)