RTPSessionPool Class Reference
This class is a base class for classes that define a group of RTP sessions that will be served by one or more execution threads.
More...
#include <pool.h>
List of all members.
Detailed Description
This class is a base class for classes that define a group of RTP sessions that will be served by one or more execution threads.
Derived classes are responsible for serving each RTP session with a thread at least.
In order to use the RTP session "pool" you just have to build RTPSessionBase objects for each RTP session (instead of RTPSession objects). Then, add the RTPSessionBase objects to an RTP session "pool" and call startRunning() method of the session pool.
- Author:
- Federico Montesino Pouzols <fedemp@altern.org>
Member Typedef Documentation
Constructor & Destructor Documentation
RTPSessionPool::RTPSessionPool |
( |
|
) |
|
virtual RTPSessionPool::~RTPSessionPool |
( |
|
) |
[inline, virtual] |
Member Function Documentation
size_t RTPSessionPool::getPoolLength |
( |
|
) |
const |
timeval RTPSessionPool::getPoolTimeout |
( |
|
) |
[inline, protected] |
bool RTPSessionPool::isActive |
( |
|
) |
[inline] |
void RTPSessionPool::setActive |
( |
|
) |
[inline, protected] |
void RTPSessionPool::setPoolTimeout |
( |
struct timeval |
to |
) |
[inline, protected] |
void RTPSessionPool::setPoolTimeout |
( |
int |
sec, |
|
|
int |
usec | |
|
) |
| | [inline, protected] |
virtual void RTPSessionPool::startRunning |
( |
|
) |
[pure virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: