ccRTP
|
#include <pool.h>
Public Member Functions | |
SingleRTPSessionPool (int pri=0) | |
~SingleRTPSessionPool () | |
void | startRunning () |
![]() | |
RTPSessionPool () | |
virtual | ~RTPSessionPool () |
bool | addSession (RTPSessionBase &session) |
bool | removeSession (RTPSessionBase &session) |
size_t | getPoolLength () const |
virtual void | startRunning ()=0 |
bool | isActive () |
![]() | |
microtimeout_t | getSchedulingTimeout (RTPSessionBase &s) |
timeval | getRTCPCheckInterval (RTPSessionBase &s) |
size_t | takeInDataPacket (RTPSessionBase &s) |
size_t | dispatchDataPacket (RTPSessionBase &s) |
void | controlReceptionService (RTPSessionBase &s) |
void | controlTransmissionService (RTPSessionBase &s) |
SOCKET | getDataRecvSocket (RTPSessionBase &s) const |
SOCKET | getControlRecvSocket (RTPSessionBase &s) const |
Protected Member Functions | |
void | run () |
Runnable method for the thread. | |
![]() | |
void | setActive () |
timeval | getPoolTimeout () |
void | setPoolTimeout (int sec, int usec) |
void | setPoolTimeout (struct timeval to) |
Additional Inherited Members | |
![]() | |
typedef std::list< SessionListElement * >::iterator | PoolIterator |
![]() | |
std::list< SessionListElement * > | sessionList |
ThreadLock | poolLock |
fd_set | recvSocketSet |
SOCKET | highestSocket |
|
inline |
pri | optional thread priority value. |
|
inline |
|
protected |
Runnable method for the thread.
This thread serves all the RTP sessions.added to this pool.
|
inlinevirtual |
Implements RTPSessionPool.