C# Class Microsoft.Samples.Synchronization.ClientServices.CacheRequestHandler

Base class that will handle the processing of a CacheRequest
Show file Open project: rafek/SyncFx Class Usage Examples

Public Methods

Method Description
CreateRequestHandler ( Uri serviceUri, CacheControllerBehavior behaviors ) : CacheRequestHandler

Factory method for creating a cache handler. For labs only Http based implementation is provided.

ProcessCacheRequest ( CacheRequest request ) : object

Method that will contain the actual implementation of the cache request processing.

Protected Methods

Method Description
CacheRequestHandler ( Uri baseUri, string scopeName ) : System

Method Details

CacheRequestHandler() protected method

protected CacheRequestHandler ( Uri baseUri, string scopeName ) : System
baseUri System.Uri
scopeName string
return System

CreateRequestHandler() public static method

Factory method for creating a cache handler. For labs only Http based implementation is provided.
public static CreateRequestHandler ( Uri serviceUri, CacheControllerBehavior behaviors ) : CacheRequestHandler
serviceUri System.Uri Base Uri to connect to
behaviors CacheControllerBehavior The CacheControllerBehavior object
return CacheRequestHandler

ProcessCacheRequest() public abstract method

Method that will contain the actual implementation of the cache request processing.
public abstract ProcessCacheRequest ( CacheRequest request ) : object
request CacheRequest CacheRequest object
return object