<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ccRTP: SingleThreadRTPSession< RTPDataChannel, RTCPChannel, ServiceQueue > Class Template Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.4 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a> | <a class="qindex" href="examples.html">Examples</a></div> <h1>SingleThreadRTPSession< RTPDataChannel, RTCPChannel, ServiceQueue > Class Template Reference<br> <small> [<a class="el" href="group__sessions.html">RTP sessions.</a>, <a class="el" href="group__sessions.html">RTP sessions.</a>]</small> </h1><!-- doxytag: class="SingleThreadRTPSession" --><!-- doxytag: inherits="TRTPSessionBase" -->This template class adds the threading aspect to the <a class="el" href="class_r_t_p_session_base.html">RTPSessionBase</a> template in one of the many possible ways. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="rtp_8h-source.html">rtp.h</a>></code> <p> <p>Inheritance diagram for SingleThreadRTPSession< RTPDataChannel, RTCPChannel, ServiceQueue >: <p><center><img src="class_single_thread_r_t_p_session.png" usemap="#SingleThreadRTPSession< RTPDataChannel, RTCPChannel, ServiceQueue >_map" border="0" alt=""></center> <map name="SingleThreadRTPSession< RTPDataChannel, RTCPChannel, ServiceQueue >_map"> <area href="class_t_r_t_p_session_base.html" alt="TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue >" shape="rect" coords="0,0,453,24"> </map> <a href="class_single_thread_r_t_p_session-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#a0">SingleThreadRTPSession</a> (const InetHostAddress &ia, tpport_t dataPort=<a class="el" href="base_8h.html#a4">DefaultRTPDataPort</a>, tpport_t controlPort=0, int pri=0, uint32 memberssize=<a class="el" href="class_membership_bookkeeping.html#t0">MembershipBookkeeping::defaultMembersHashSize</a>, <a class="el" href="class_r_t_p_application.html">RTPApplication</a> &app=defaultApplication())</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#a1">SingleThreadRTPSession</a> (const InetMcastAddress &ia, tpport_t dataPort=<a class="el" href="base_8h.html#a4">DefaultRTPDataPort</a>, tpport_t controlPort=0, int pri=0, uint32 memberssize=<a class="el" href="class_membership_bookkeeping.html#t0">MembershipBookkeeping::defaultMembersHashSize</a>, <a class="el" href="class_r_t_p_application.html">RTPApplication</a> &app=defaultApplication(), uint32 iface=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#a2">~SingleThreadRTPSession</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#a3">startRunning</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Activate stack and start service thread. <a href="#a3"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b0">enableStack</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="base_8h.html#a2">microtimeout_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b1">getSchedulingTimeout</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b2">controlReceptionService</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b3">controlTransmissionService</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">timeval </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b4">getRTCPCheckInterval</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b5">dispatchDataPacket</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b6">timerTick</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b7">isPendingData</a> (<a class="el" href="base_8h.html#a2">microtimeout_t</a> timeout)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b8">run</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Single runnable method for this RTP stacks, schedules outgoing and incoming RTP data and RTCP packets. <a href="#b8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b9">takeInDataPacket</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_single_thread_r_t_p_session.html#b10">dispatchBYE</a> (const std::string &str)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue><br> class SingleThreadRTPSession< RTPDataChannel, RTCPChannel, ServiceQueue ></h3> This template class adds the threading aspect to the <a class="el" href="class_r_t_p_session_base.html">RTPSessionBase</a> template in one of the many possible ways. <p> It inherits from a single execution thread that schedules sending of outgoing packets and receipt of incoming packets.<p> <dl compact><dt><b>Author:</b></dt><dd>Federico Montesino Pouzols <<a href="mailto:fedemp@altern.org">fedemp@altern.org</a>></dd></dl> <dl compact><dt><b>Examples: </b></dt><dd> <p> <a class="el" href="audiorx_8cpp-example.html#_a0">audiorx.cpp</a>, <a class="el" href="audiotx_8cpp-example.html#_a7">audiotx.cpp</a>, <a class="el" href="ccrtptest_8cpp-example.html#_a11">ccrtptest.cpp</a>, <a class="el" href="rtphello_8cpp-example.html#_a38">rtphello.cpp</a>, <a class="el" href="rtplisten_8cpp-example.html#_a46">rtplisten.cpp</a>, and <a class="el" href="rtpsend_8cpp-example.html#_a64">rtpsend.cpp</a>.</dl> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="a0"></a><!-- doxytag: member="SingleThreadRTPSession::SingleThreadRTPSession" ref="a0" args="(const InetHostAddress &ia, tpport_t dataPort=DefaultRTPDataPort, tpport_t controlPort=0, int pri=0, uint32 memberssize=MembershipBookkeeping::defaultMembersHashSize, RTPApplication &app=defaultApplication())" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::<a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a> </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const InetHostAddress & </td> <td class="mdname" nowrap> <em>ia</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>tpport_t </td> <td class="mdname" nowrap> <em>dataPort</em> = <code><a class="el" href="base_8h.html#a4">DefaultRTPDataPort</a></code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>tpport_t </td> <td class="mdname" nowrap> <em>controlPort</em> = <code>0</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pri</em> = <code>0</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>uint32 </td> <td class="mdname" nowrap> <em>memberssize</em> = <code><a class="el" href="class_membership_bookkeeping.html#t0">MembershipBookkeeping::defaultMembersHashSize</a></code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="class_r_t_p_application.html">RTPApplication</a> & </td> <td class="mdname" nowrap> <em>app</em> = <code>defaultApplication()</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="a1"></a><!-- doxytag: member="SingleThreadRTPSession::SingleThreadRTPSession" ref="a1" args="(const InetMcastAddress &ia, tpport_t dataPort=DefaultRTPDataPort, tpport_t controlPort=0, int pri=0, uint32 memberssize=MembershipBookkeeping::defaultMembersHashSize, RTPApplication &app=defaultApplication(), uint32 iface=0)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::<a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a> </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const InetMcastAddress & </td> <td class="mdname" nowrap> <em>ia</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>tpport_t </td> <td class="mdname" nowrap> <em>dataPort</em> = <code><a class="el" href="base_8h.html#a4">DefaultRTPDataPort</a></code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>tpport_t </td> <td class="mdname" nowrap> <em>controlPort</em> = <code>0</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pri</em> = <code>0</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>uint32 </td> <td class="mdname" nowrap> <em>memberssize</em> = <code><a class="el" href="class_membership_bookkeeping.html#t0">MembershipBookkeeping::defaultMembersHashSize</a></code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="class_r_t_p_application.html">RTPApplication</a> & </td> <td class="mdname" nowrap> <em>app</em> = <code>defaultApplication()</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>uint32 </td> <td class="mdname" nowrap> <em>iface</em> = <code>0</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="a2"></a><!-- doxytag: member="SingleThreadRTPSession::~SingleThreadRTPSession" ref="a2" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::~<a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a> </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="b2"></a><!-- doxytag: member="SingleThreadRTPSession::controlReceptionService" ref="b2" args="(void)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">void <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::controlReceptionService </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="b3"></a><!-- doxytag: member="SingleThreadRTPSession::controlTransmissionService" ref="b3" args="(void)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">void <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::controlTransmissionService </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="b10"></a><!-- doxytag: member="SingleThreadRTPSession::dispatchBYE" ref="b10" args="(const std::string &str)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">size_t <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::dispatchBYE </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const std::string & </td> <td class="mdname1" valign="top" nowrap> <em>str</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="class_t_r_t_p_session_base.html#a4">TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue ></a>. </td> </tr> </table> <a class="anchor" name="b5"></a><!-- doxytag: member="SingleThreadRTPSession::dispatchDataPacket" ref="b5" args="(void)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">size_t <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::dispatchDataPacket </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="b0"></a><!-- doxytag: member="SingleThreadRTPSession::enableStack" ref="b0" args="(void)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">void <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::enableStack </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="b4"></a><!-- doxytag: member="SingleThreadRTPSession::getRTCPCheckInterval" ref="b4" args="(void)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">timeval <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::getRTCPCheckInterval </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="b1"></a><!-- doxytag: member="SingleThreadRTPSession::getSchedulingTimeout" ref="b1" args="(void)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top"><a class="el" href="base_8h.html#a2">microtimeout_t</a> <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::getSchedulingTimeout </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="b7"></a><!-- doxytag: member="SingleThreadRTPSession::isPendingData" ref="b7" args="(microtimeout_t timeout)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">virtual bool <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::isPendingData </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="base_8h.html#a2">microtimeout_t</a> </td> <td class="mdname1" valign="top" nowrap> <em>timeout</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="class_t_r_t_p_session_base.html#b0">TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue ></a>. </td> </tr> </table> <a class="anchor" name="b8"></a><!-- doxytag: member="SingleThreadRTPSession::run" ref="b8" args="(void)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">virtual void <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::run </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Single runnable method for this RTP stacks, schedules outgoing and incoming RTP data and RTCP packets. <p> </td> </tr> </table> <a class="anchor" name="a3"></a><!-- doxytag: member="SingleThreadRTPSession::startRunning" ref="a3" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">void <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::startRunning </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Activate stack and start service thread. <p> <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="ccrtptest_8cpp-example.html#a14">ccrtptest.cpp</a>.</dl> </td> </tr> </table> <a class="anchor" name="b9"></a><!-- doxytag: member="SingleThreadRTPSession::takeInDataPacket" ref="b9" args="(void)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">size_t <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::takeInDataPacket </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="b6"></a><!-- doxytag: member="SingleThreadRTPSession::timerTick" ref="b6" args="(void)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="mdPrefix" colspan="4"> template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue> </td> </tr> <tr> <td class="md" nowrap valign="top">virtual void <a class="el" href="class_single_thread_r_t_p_session.html">SingleThreadRTPSession</a>< RTPDataChannel, RTCPChannel, ServiceQueue >::timerTick </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="rtp_8h-source.html">rtp.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 22:32:04 2005 for ccRTP by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> </body> </html>