Public Member Functions | Static Public Member Functions

Celartem::AdvCachedStorage Class Reference

#include <cel_storagecache.h>

Inheritance diagram for Celartem::AdvCachedStorage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void setBufferingSize (size_t inSize=1024)=0
virtual void setCallback (DuplicateStreamCallback inCallback, void *inContext)=0

Static Public Member Functions

static AutoPtr< AdvCachedStoragecreate (StorageLoader *inLoader)

Detailed Description

This class realizes a Storage class which has cached copy on the local machine.


Member Function Documentation

static AutoPtr<AdvCachedStorage> Celartem::AdvCachedStorage::create ( StorageLoader inLoader  )  [static]

Create a new AdvCachedStorage instance which uses the specified loader instance.

Parameters:
inLoader A StorageLoader instance.
Returns:
Pointer to the newly created instance.
virtual void Celartem::AdvCachedStorage::setBufferingSize ( size_t  inSize = 1024  )  [pure virtual]

Set the buffering size. The buffering size has very large impact on the networking performance.

Parameters:
inSize Buffering size in bytes. The default is 1024 bytes.
virtual void Celartem::AdvCachedStorage::setCallback ( DuplicateStreamCallback  inCallback,
void *  inContext 
) [pure virtual]

Set the callback which is called when calls to StorageLoader::load take long.

Parameters:
inCallback Pointer to a callback function.
inContext Context for the callback function.

The documentation for this class was generated from the following file:

This document is made with doxygen 1.7.1 at Sun Sep 5 2010 13:03:39.
Caminova Logo