WMS_CACHE_QUERY_TYPE_FLAGS
Previous | Next |
WMS_CACHE_QUERY_TYPE_FLAGS
The WMS_CACHE_QUERY_TYPE_FLAGS enumeration type indicates the purpose of a call to the QueryCache method on the IWMSCacheProxy interface.
Syntax
typedef enum WMS_CACHE_QUERY_TYPE_FLAGS{ WMS_CACHE_QUERY_OPEN = 0x1, WMS_CACHE_QUERY_GET_CONTENT_INFO = 0x2, WMS_CACHE_QUERY_CACHE_EVENT = 0x4, WMS_CACHE_QUERY_REVERSE_PROXY = 0x8, WMS_CACHE_QUERY_LOCAL_EVENT = 0x10 };
Members
WMS_CACHE_QUERY_OPEN
A request for content from the server was made by a downstream client.
WMS_CACHE_QUERY_GET_CONTENT_INFO
When a downstream cache proxy device requests information about content that has been cached on a Windows Media server, the cache plug-in must send information about the content to the downstream device. The information is obtained by the calling the GetContentInformation method on the IWMSCacheProxyServer interface.
WMS_CACHE_QUERY_CACHE_EVENT
A downstream cache proxy device propagated a remote cache event.
WMS_CACHE_QUERY_REVERSE_PROXY
The server is configured as a reverse proxy. A cache proxy plug-in can check this flag to determine whether it must map client requests to an upstream server farm. Typically, only cache proxy plug-ins that are designed to support reverse proxy must check this flag.
WMS_CACHE_QUERY_LOCAL_EVENT
The server sets this flag if it is the first in a chain of distribution servers and must send a log, file open, or file close event to an upstream server. Because cache proxy plug-ins are responsible for propagating events, your plug-in can check this flag to determine an appropriate action. For more information about the events that an upstream server can subscribe to, see the WMS_CACHE_REMOTE_EVENT_FLAGS enumeration type.
Requirements
Header: streamcache.h.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003 family, Windows Server 2008 family.
See Also (General)
See Also (Visual Basic .NET)
- IWMSCacheProxy.QueryCache (Visual Basic .NET)
- IWMSCacheProxyServer.GetContentInformation (Visual Basic .NET)
See Also (C#)
See Also (C++)
Previous | Next |