#include <RTSPCacheStrategy.h>
Inheritance diagram for RTSPCacheStrategy:


Public Member Functions | |
| RTSPCacheStrategy () | |
| RTSPCacheStrategy (RTSPCacheDir *cdir) | |
| virtual | ~RTSPCacheStrategy () |
| virtual bool | isWorthCaching (const MNString &URL, int64_t &file_size) |
| virtual bool | isWorthCaching (int idx, const MNString &URL, int64_t &file_size) |
| virtual void | cacheHit (const MNString &URL) |
| virtual void | cacheMiss (const MNString &URL) |
| void | log_hit () |
| void | log_miss () |
| int | gethits () |
| int | getmisses () |
| RTSPCacheDir * | getCacheDir () |
Static Public Member Functions | |
| RTSPCacheStrategy * | factory (RTSPCacheDir *cdir) |
|
|
RTSPCacheStrategy() default constructor |
|
|
RTSPCacheStrategy( RTSPCacheDir* cdir ) Constructor that stores a pointer to RTSPCacheDir |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
isWorthCaching( const MNString& URL ) checks if the requested content should be stored on the cache or not. Reimplemented in FIFO2Strategy, and FIFOStrategy.
|
|
|
|
|
|
|
1.3.8