|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
This class is responsible for caching media resource buffers. More...
#include <MediaResourceCache.hxx>
Public Member Functions | |
| MediaResourceCache () | |
| virtual | ~MediaResourceCache () |
| void | addToCache (const resip::Data &name, const resip::Data &buffer, int type) |
| bool | getFromCache (const resip::Data &name, resip::Data **buffer, int *type) |
This class is responsible for caching media resource buffers.
It use a Mutex for locking, so that additions can happen from other threads.
Author: Scott Godin (sgodin AT SipSpectrum DOT com)
Definition at line 17 of file MediaResourceCache.hxx.
| MediaResourceCache::MediaResourceCache | ( | ) |
Definition at line 14 of file MediaResourceCache.cxx.
|
virtual |
Definition at line 18 of file MediaResourceCache.cxx.
| void MediaResourceCache::addToCache | ( | const resip::Data & | name, |
| const resip::Data & | buffer, | ||
| int | type | ||
| ) |
Definition at line 29 of file MediaResourceCache.cxx.
| bool MediaResourceCache::getFromCache | ( | const resip::Data & | name, |
| resip::Data ** | buffer, | ||
| int * | type | ||
| ) |
Definition at line 49 of file MediaResourceCache.cxx.