ccRTP 2.1.2
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
SingleRTPSessionPool Class Reference

#include <pool.h>

Inheritance diagram for SingleRTPSessionPool:
Inheritance graph
[legend]
Collaboration diagram for SingleRTPSessionPool:
Collaboration graph
[legend]

Public Member Functions

  SingleRTPSessionPool (int pri=0)
 
 
void  startRunning ()
 
bool  addSession (RTPSessionBase &session)
 
bool  removeSession (RTPSessionBase &session)
 
size_t  getPoolLength () const
 
bool  isActive ()
 
 
 
 
 
 
 
SOCKET  getDataRecvSocket (RTPSessionBase &s) const
 
SOCKET  getControlRecvSocket (RTPSessionBase &s) const
 

Protected Types

typedef std::list
< SessionListElement * >
::iterator  PoolIterator
 

Protected Member Functions

void  run ()
  Runnable method for the thread. More...
 
void  setActive ()
 
timeval  getPoolTimeout ()
 
void  setPoolTimeout (int sec, int usec)
 
void  setPoolTimeout (struct timeval to)
 

Protected Attributes

std::list< SessionListElement * >  sessionList
 
ThreadLock  poolLock
 
fd_set  recvSocketSet
 
SOCKET  highestSocket
 

Detailed Description

Definition at line 205 of file pool.h.

Member Typedef Documentation

typedef std::list<SessionListElement*>::iterator RTPSessionPool::PoolIterator
protectedinherited

Definition at line 190 of file pool.h.

Constructor & Destructor Documentation

SingleRTPSessionPool::SingleRTPSessionPool ( int  pri = 0 )
inline
Parameters
pri optional thread priority value.

Definition at line 213 of file pool.h.

SingleRTPSessionPool::~SingleRTPSessionPool ( )
inline

Definition at line 218 of file pool.h.

Member Function Documentation

bool RTPSessionPool::addSession ( RTPSessionBasesession )
inherited

Definition at line 56 of file pool.cpp.

void RTPSessionBaseHandler::controlReceptionService ( RTPSessionBases )
inlineinherited

Definition at line 71 of file pool.h.

void RTPSessionBaseHandler::controlTransmissionService ( RTPSessionBases )
inlineinherited

Definition at line 75 of file pool.h.

size_t RTPSessionBaseHandler::dispatchDataPacket ( RTPSessionBases )
inlineinherited

Definition at line 67 of file pool.h.

SOCKET RTPSessionBaseHandler::getControlRecvSocket ( RTPSessionBases ) const
inlineinherited

Definition at line 81 of file pool.h.

SOCKET RTPSessionBaseHandler::getDataRecvSocket ( RTPSessionBases ) const
inlineinherited

Definition at line 78 of file pool.h.

size_t RTPSessionPool::getPoolLength ( ) const
inherited

Definition at line 99 of file pool.cpp.

timeval RTPSessionPool::getPoolTimeout ( )
inlineprotectedinherited

Definition at line 180 of file pool.h.

timeval RTPSessionBaseHandler::getRTCPCheckInterval ( RTPSessionBases )
inlineinherited

Definition at line 59 of file pool.h.

microtimeout_t RTPSessionBaseHandler::getSchedulingTimeout ( RTPSessionBases )
inlineinherited

Definition at line 56 of file pool.h.

bool RTPSessionPool::isActive ( )
inlineinherited

Definition at line 173 of file pool.h.

bool RTPSessionPool::removeSession ( RTPSessionBasesession )
inherited

Definition at line 77 of file pool.cpp.

void SingleRTPSessionPool::run ( void  )
protected

Runnable method for the thread.

This thread serves all the RTP sessions.added to this pool.

Definition at line 113 of file pool.cpp.

void RTPSessionPool::setActive ( )
inlineprotectedinherited

Definition at line 177 of file pool.h.

void RTPSessionPool::setPoolTimeout ( int  sec,
int  usec 
)
inlineprotectedinherited

Definition at line 183 of file pool.h.

void RTPSessionPool::setPoolTimeout ( struct timeval  to )
inlineprotectedinherited

Definition at line 186 of file pool.h.

void SingleRTPSessionPool::startRunning ( )
inlinevirtual

Implements RTPSessionPool.

Definition at line 221 of file pool.h.

size_t RTPSessionBaseHandler::takeInDataPacket ( RTPSessionBases )
inlineinherited

Definition at line 63 of file pool.h.

Field Documentation

SOCKET RTPSessionPool::highestSocket
protectedinherited

Definition at line 196 of file pool.h.

ThreadLock RTPSessionPool::poolLock
mutableprotectedinherited

Definition at line 192 of file pool.h.

fd_set RTPSessionPool::recvSocketSet
protectedinherited

Definition at line 195 of file pool.h.

std::list<SessionListElement*> RTPSessionPool::sessionList
protectedinherited

Definition at line 189 of file pool.h.


The documentation for this class was generated from the following files:

Generated on Dec 15, 2017 for ccrtp-2.1.2 (*.h and *.cpp) and libzrtpcpp-2.3.4 (*.h), by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /