Share via


WMS_CACHE_VERSION_COMPARE_RESPONSE

banner art

Previous Next

WMS_CACHE_VERSION_COMPARE_RESPONSE

The WMS_CACHE_VERSION_COMPARE_RESPONSE enumeration type indicates whether cached content has expired.

Syntax

  typedef enum WMS_CACHE_VERSION_COMPARE_RESPONSE{
  
  WMS_CACHE_VERSION_FAIL_TO_CHECK_VERSION = 0,
  
  WMS_CACHE_VERSION_CACHE_STALE = 1,
  
  WMS_CACHE_VERSION_CACHE_UP_TO_DATE = 2
  
  };

Members

WMS_CACHE_VERSION_FAIL_TO_CHECK_VERSION

The server failed to check version information. You can use this value in a cache plug-in to enable protocol rollover.

WMS_CACHE_VERSION_CACHE_STALE

The content is out of date. The plug-in must remove the content from cache storage and re-cache it. The plug-in can begin the cache download and then indicate that the request should be proxied.

WMS_CACHE_VERSION_CACHE_UP_TO_DATE

The content is up to date. The plug-in can stream the cached content to the client.

Remarks

You can use this enumeration when you implement the OnCompareContentInformation method on the IWMSCacheProxyServerCallback interface in a custom cache proxy plug-in. The server calls this method to respond after your plug-in calls the CompareContentInformation method on the IWMSCacheProxyServer interface.

Requirements

Header: streamcache.h.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003 family, Windows Server 2008 family.

See Also (General)

See Also (Visual Basic .NET)

See Also (C#)

See Also (C++)

Previous Next