#include <cel_storagecache.h>

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< AdvCachedStorage > | create (StorageLoader *inLoader) |
Definition at line 185 of file cel_storagecache.h.
| static AutoPtr<AdvCachedStorage> Celartem::AdvCachedStorage::create | ( | StorageLoader * | inLoader | ) | [static] |
Create a new AdvCachedStorage instance which uses the specified loader instance.
| inLoader | A StorageLoader 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.
| 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.
| inCallback | Pointer to a callback function. | |
| inContext | Context for the callback function. |