SingleRTPSessionPool(3)

πŸ“¦
version 2.0.9 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing

✨ SingleRTPSessionPool ✨

okay bestie, pull up a chair πŸ’– this is SingleRTPSessionPool, a page from the Library Functions Manual, and it's genuinely so cute β€” it's the lil pool that runs one thread and serves ALL your RTP sessions with it. main character energy fr fr πŸ‘‘


🌸 NAME 🌸

SingleRTPSessionPool


πŸŽ€ SYNOPSIS πŸŽ€

#include <pool.h>

Inherits RTPSessionPool, and Thread. (yes it's giving nepo baby but in a good way πŸ’…)

πŸ’« Public Member Functions

  • SingleRTPSessionPool (int pri=0) β€” the constructor, she's here 🫢
  • ~SingleRTPSessionPool () β€” the destructor, she's leaving
  • void startRunning () β€” kicks it off

πŸ’« Public Member Functions inherited from RTPSessionPool

  • RTPSessionPool ()
  • virtual ~RTPSessionPool ()
  • bool addSession (RTPSessionBase &session)
  • bool removeSession (RTPSessionBase &session)
  • size_t getPoolLength () const
  • bool isActive ()

πŸ’« Public Member Functions inherited from RTPSessionBaseHandler

  • 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. (the whole plot, honestly)

πŸ¦‹ Protected Member Functions inherited from RTPSessionPool

  • void setActive ()
  • timeval getPoolTimeout ()
  • void setPoolTimeout (int sec, int usec)
  • void setPoolTimeout (struct timeval to)

🌈 Additional Inherited Members

πŸ’œ 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

πŸ‘‘ Constructor & Destructor Documentation πŸ‘‘

🌟 SingleRTPSessionPool::SingleRTPSessionPool (int pri = 0) [inline]

Parameters

  • pri β€” optional thread priority value. (just a lil priority, no biggie πŸ’–)

🌟 SingleRTPSessionPool::~SingleRTPSessionPool () [inline]

that's it, that's the destructor, she said bye πŸ‘‹


πŸ”₯ Member Function Documentation πŸ”₯

⭐ void SingleRTPSessionPool::run () [protected]

Runnable method for the thread. This thread serves all the RTP sessions.added to this pool. (one thread, all the sessions, absolute icon behavior ✨)

⭐ void SingleRTPSessionPool::startRunning () [inline], [virtual]

Implements RTPSessionPool.


πŸ’Œ Author πŸ’Œ

Generated automatically by Doxygen for ccRTP from the source code.


okay that's the whole page bestie, go forth and pool responsibly πŸŒΈπŸ¦‹

signing off from ccRTP, SingleRTPSessionPool(3) β€” that's the manual page, no cap πŸ’…

πŸ“¦ where this page comes from