logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SingleRTPSessionPool

Author

       Generated automatically by Doxygen for ccRTP from the source code.

                                                      ccRTP                              SingleRTPSessionPool(3)

Constructor & Destructor Documentation

SingleRTPSessionPool::SingleRTPSessionPool(intpri=0)[inline]Parameterspri optional thread priority value.

   SingleRTPSessionPool::~SingleRTPSessionPool()[inline]

Member Function Documentation

voidSingleRTPSessionPool::run()[protected]
       Runnable method for the thread. This thread serves all the RTP sessions.added to this pool.

   voidSingleRTPSessionPool::startRunning()[inline],[virtual]
       Implements RTPSessionPool.

Name

       SingleRTPSessionPool

Synopsis

       #include <pool.h>

       Inherits RTPSessionPool, and Thread.

   PublicMemberFunctionsSingleRTPSessionPool (int pri=0)
       ~SingleRTPSessionPool ()
       void startRunning ()

       Public Member Functions inherited from RTPSessionPoolRTPSessionPool ()
       virtual ~RTPSessionPool ()
       bool addSession (RTPSessionBase &session)
       bool removeSession (RTPSessionBase &session)
       size_t getPoolLength () const
       bool isActive ()

       Public Member Functions inherited from RTPSessionBaseHandlermicrotimeout_tgetSchedulingTimeout (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

   ProtectedMemberFunctions
       void run ()
           Runnable method for the thread.

       Protected Member Functions inherited from RTPSessionPool
       void setActive ()
       timeval getPoolTimeout ()
       void setPoolTimeout (int sec, int usec)
       void setPoolTimeout (struct timeval to)

   AdditionalInheritedMembers
       Protected Types inherited from RTPSessionPool
       typedef std::list< SessionListElement * >::iterator PoolIterator

       Protected Attributes inherited from RTPSessionPool
       std::list< SessionListElement * > sessionList
       ThreadLock poolLock
       fd_set recvSocketSet
       SOCKET highestSocket

See Also