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>
Inheritance diagram for RTPSessionPool:
Collaboration diagram for RTPSessionPool:
Public Member Functions
Protected Types
Protected Member Functions
Protected Attributes
Private Attributes
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 fedem.nosp@m.p@al.nosp@m.tern..nosp@m.org
Definition at line 157 of file pool.h.
Member Typedef Documentation
Constructor & Destructor Documentation
RTPSessionPool::RTPSessionPool
(
)
virtual RTPSessionPool::~RTPSessionPool
(
)
inlinevirtual
Member Function Documentation
void RTPSessionBaseHandler::controlReceptionService
(
RTPSessionBase &
s )
inlineinherited
void RTPSessionBaseHandler::controlTransmissionService
(
RTPSessionBase &
s )
inlineinherited
size_t RTPSessionBaseHandler::dispatchDataPacket
(
RTPSessionBase &
s )
inlineinherited
size_t RTPSessionPool::getPoolLength
(
)
const
timeval RTPSessionPool::getPoolTimeout
(
)
inlineprotected
timeval RTPSessionBaseHandler::getRTCPCheckInterval
(
RTPSessionBase &
s )
inlineinherited
bool RTPSessionPool::isActive
(
void
)
inline
void RTPSessionPool::setActive
(
)
inlineprotected
void RTPSessionPool::setPoolTimeout
(
int
sec,
int
usec
)
inlineprotected
void RTPSessionPool::setPoolTimeout
(
struct timeval
to )
inlineprotected
virtual void RTPSessionPool::startRunning
(
)
pure virtual
Field Documentation
SOCKET RTPSessionPool::highestSocket
protected
bool RTPSessionPool::poolActive
mutableprivate
timeval RTPSessionPool::poolTimeout
private
fd_set RTPSessionPool::recvSocketSet
protected
The documentation for this class was generated from the following file: