Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > 598246a3099b0106d22dd5249478d3b7 > files > 243

ccrtp-devel-1.7.1-2.fc12.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ccRTP: pool.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>pool.h</h1><a href="pool_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2001,2002,2006 Federico Montesino Pouzols &lt;fedemp@altern.org&gt;</span>
<a name="l00002"></a>00002 <span class="comment">//  </span>
<a name="l00003"></a>00003 <span class="comment">// This program is free software; you can redistribute it and/or modify</span>
<a name="l00004"></a>00004 <span class="comment">// it under the terms of the GNU General Public License as published by</span>
<a name="l00005"></a>00005 <span class="comment">// the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00006"></a>00006 <span class="comment">// (at your option) any later version.</span>
<a name="l00007"></a>00007 <span class="comment">// </span>
<a name="l00008"></a>00008 <span class="comment">// This program is distributed in the hope that it will be useful,</span>
<a name="l00009"></a>00009 <span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00010"></a>00010 <span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00011"></a>00011 <span class="comment">// GNU General Public License for more details.</span>
<a name="l00012"></a>00012 <span class="comment">// </span>
<a name="l00013"></a>00013 <span class="comment">// You should have received a copy of the GNU General Public License</span>
<a name="l00014"></a>00014 <span class="comment">// along with this program; if not, write to the Free Software </span>
<a name="l00015"></a>00015 <span class="comment">// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
<a name="l00016"></a>00016 <span class="comment">// </span>
<a name="l00017"></a>00017 <span class="comment">// As a special exception, you may use this file as part of a free software</span>
<a name="l00018"></a>00018 <span class="comment">// library without restriction.  Specifically, if other files instantiate</span>
<a name="l00019"></a>00019 <span class="comment">// templates or use macros or inline functions from this file, or you compile</span>
<a name="l00020"></a>00020 <span class="comment">// this file and link it with other files to produce an executable, this</span>
<a name="l00021"></a>00021 <span class="comment">// file does not by itself cause the resulting executable to be covered by</span>
<a name="l00022"></a>00022 <span class="comment">// the GNU General Public License.  This exception does not however    </span>
<a name="l00023"></a>00023 <span class="comment">// invalidate any other reasons why the executable file might be covered by</span>
<a name="l00024"></a>00024 <span class="comment">// the GNU General Public License.    </span>
<a name="l00025"></a>00025 <span class="comment">//</span>
<a name="l00026"></a>00026 <span class="comment">// This exception applies only to the code released under the name GNU</span>
<a name="l00027"></a>00027 <span class="comment">// ccRTP.  If you copy code from other releases into a copy of GNU</span>
<a name="l00028"></a>00028 <span class="comment">// ccRTP, as the General Public License permits, the exception does</span>
<a name="l00029"></a>00029 <span class="comment">// not apply to the code that you add in this way.  To avoid misleading</span>
<a name="l00030"></a>00030 <span class="comment">// anyone as to the status of such modified files, you must delete</span>
<a name="l00031"></a>00031 <span class="comment">// this exception notice from them.</span>
<a name="l00032"></a>00032 <span class="comment">//</span>
<a name="l00033"></a>00033 <span class="comment">// If you write modifications of your own for GNU ccRTP, it is your choice</span>
<a name="l00034"></a>00034 <span class="comment">// whether to permit this exception to apply to your modifications.</span>
<a name="l00035"></a>00035 <span class="comment">// If you do not wish that, delete this exception notice.</span>
<a name="l00036"></a>00036 <span class="comment">//</span>
<a name="l00037"></a>00037 
<a name="l00043"></a>00043 <span class="preprocessor">#ifndef CCXX_RTP_POOL_H</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#define CCXX_RTP_POOL_H</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span>
<a name="l00046"></a>00046 <span class="preprocessor">#include &lt;list&gt;</span>
<a name="l00047"></a>00047 <span class="preprocessor">#include &lt;<a class="code" href="rtp_8h.html" title="Generic and audio/video profile specific RTP interface of ccRTP.">ccrtp/rtp.h</a>&gt;</span>
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="preprocessor">#ifdef  CCXX_NAMESPACES</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="keyword">namespace </span>ost {
<a name="l00051"></a>00051 <span class="keyword">using</span> std::list;
<a name="l00052"></a>00052 <span class="preprocessor">#endif</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00054"></a><a class="code" href="pool_8h.html#5ea95f1314b2f650b0b38d1731df5d0c">00054</a> <span class="keyword">typedef</span> <a class="code" href="class_t_r_t_p_session_base.html">TRTPSessionBase&lt;&gt;</a> <a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>;
<a name="l00055"></a>00055 
<a name="l00056"></a><a class="code" href="class_r_t_p_session_base_handler.html">00056</a> <span class="keyword">class </span><a class="code" href="class_r_t_p_session_base_handler.html">RTPSessionBaseHandler</a>
<a name="l00057"></a>00057 {
<a name="l00058"></a>00058 <span class="keyword">public</span>:
<a name="l00059"></a><a class="code" href="class_r_t_p_session_base_handler.html#d45253763ff4ff2cb49cc079e92fe3e2">00059</a>         <span class="keyword">inline</span> <a class="code" href="base_8h.html#c16d853255145e6a903914eb376a84bb" title="Time interval expressed in microseconds.">microtimeout_t</a> getSchedulingTimeout(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>&amp; s)
<a name="l00060"></a>00060         { <span class="keywordflow">return</span> s.getSchedulingTimeout(); }
<a name="l00061"></a>00061 
<a name="l00062"></a><a class="code" href="class_r_t_p_session_base_handler.html#a3678d7c9c5cd75ece336115e21ec640">00062</a>         <span class="keyword">inline</span> timeval getRTCPCheckInterval(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>&amp; s)
<a name="l00063"></a>00063         { <span class="keywordflow">return</span> s.getRTCPCheckInterval(); }
<a name="l00064"></a>00064 
<a name="l00065"></a>00065         <span class="keywordtype">size_t</span>
<a name="l00066"></a><a class="code" href="class_r_t_p_session_base_handler.html#f04e826481a78be8dda329d9d2876487">00066</a>         takeInDataPacket(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>&amp; s)
<a name="l00067"></a>00067         { <span class="keywordflow">return</span> s.takeInDataPacket(); }
<a name="l00068"></a>00068         
<a name="l00069"></a>00069         <span class="keywordtype">size_t</span>
<a name="l00070"></a><a class="code" href="class_r_t_p_session_base_handler.html#984bce737fe9c6a9129a0d8dbf600587">00070</a>         dispatchDataPacket(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>&amp; s)
<a name="l00071"></a>00071         { <span class="keywordflow">return</span> s.dispatchDataPacket(); }
<a name="l00072"></a>00072         
<a name="l00073"></a>00073         <span class="keywordtype">void</span>
<a name="l00074"></a><a class="code" href="class_r_t_p_session_base_handler.html#053fdf1c9d8b491163fbfcf833de7456">00074</a>         controlReceptionService(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>&amp; s)
<a name="l00075"></a>00075         { s.controlReceptionService(); }
<a name="l00076"></a>00076         
<a name="l00077"></a>00077         <span class="keywordtype">void</span>
<a name="l00078"></a><a class="code" href="class_r_t_p_session_base_handler.html#91f6c268659ef647e5a37cb39ff00d08">00078</a>         controlTransmissionService(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>&amp; s)
<a name="l00079"></a>00079         { s.controlTransmissionService(); }
<a name="l00080"></a>00080         
<a name="l00081"></a><a class="code" href="class_r_t_p_session_base_handler.html#8edccdbc4208595c181aba2d45da0bcb">00081</a>         <span class="keyword">inline</span> SOCKET getDataRecvSocket(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>&amp; s)<span class="keyword"> const</span>
<a name="l00082"></a>00082 <span class="keyword">        </span>{ <span class="keywordflow">return</span> s.getDataRecvSocket(); }
<a name="l00083"></a>00083         
<a name="l00084"></a><a class="code" href="class_r_t_p_session_base_handler.html#12d275a3ed6cc3ad56132e6bd9b6d264">00084</a>         <span class="keyword">inline</span> SOCKET getControlRecvSocket(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>&amp; s)<span class="keyword"> const</span>
<a name="l00085"></a>00085 <span class="keyword">        </span>{ <span class="keywordflow">return</span> s.getControlRecvSocket(); }
<a name="l00086"></a>00086 };
<a name="l00087"></a>00087 
<a name="l00095"></a><a class="code" href="class_session_list_element.html">00095</a> <span class="keyword">class </span><a class="code" href="class_session_list_element.html" title="Class for tracking session status.">SessionListElement</a> {
<a name="l00096"></a>00096 <span class="keyword">private</span>:
<a name="l00097"></a>00097         <a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>* elem;
<a name="l00098"></a>00098         <span class="keywordtype">bool</span> cleared;
<a name="l00099"></a>00099 
<a name="l00100"></a>00100 <span class="keyword">public</span>:
<a name="l00101"></a>00101         <a class="code" href="class_session_list_element.html" title="Class for tracking session status.">SessionListElement</a>(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>* e);
<a name="l00102"></a>00102         <span class="keywordtype">void</span> clear();
<a name="l00103"></a>00103         <span class="keywordtype">bool</span> isCleared();
<a name="l00104"></a>00104         <a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>* <span class="keyword">get</span>();
<a name="l00105"></a>00105 };
<a name="l00106"></a>00106 
<a name="l00107"></a>00107 
<a name="l00108"></a><a class="code" href="class_session_list_element.html#001150111f8e939fe16dfb9d978d3afa">00108</a> <span class="keyword">inline</span> <a class="code" href="class_session_list_element.html#001150111f8e939fe16dfb9d978d3afa">SessionListElement::SessionListElement</a>(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>* e) 
<a name="l00109"></a>00109         : elem(e), cleared(false) { 
<a name="l00110"></a>00110 }
<a name="l00111"></a>00111 
<a name="l00112"></a><a class="code" href="class_session_list_element.html#88a35f01f407864d4f562fbffd42fc69">00112</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_session_list_element.html#88a35f01f407864d4f562fbffd42fc69">SessionListElement::clear</a>() {
<a name="l00113"></a>00113         cleared = <span class="keyword">true</span>;
<a name="l00114"></a>00114         <span class="keyword">delete</span> elem;
<a name="l00115"></a>00115         elem = 0;
<a name="l00116"></a>00116 }
<a name="l00117"></a>00117 
<a name="l00118"></a><a class="code" href="class_session_list_element.html#f61f1e001e4346fa438144e1d485d7d6">00118</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="class_session_list_element.html#f61f1e001e4346fa438144e1d485d7d6">SessionListElement::isCleared</a>() {
<a name="l00119"></a>00119         <span class="keywordflow">return</span> cleared;
<a name="l00120"></a>00120 }
<a name="l00121"></a>00121 
<a name="l00122"></a><a class="code" href="class_session_list_element.html#6e315565e4879a59737aec788fe46fc9">00122</a> <span class="keyword">inline</span> <a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>* <a class="code" href="class_session_list_element.html#6e315565e4879a59737aec788fe46fc9">SessionListElement::get</a>() {
<a name="l00123"></a>00123         <span class="keywordflow">return</span> elem;
<a name="l00124"></a>00124 }
<a name="l00125"></a>00125 
<a name="l00131"></a><a class="code" href="class_pred_equals.html">00131</a> <span class="keyword">class </span><a class="code" href="class_pred_equals.html" title="std equality for SessionListElement objects.">PredEquals</a>
<a name="l00132"></a>00132 {
<a name="l00133"></a>00133 <span class="keyword">protected</span>:
<a name="l00134"></a><a class="code" href="class_pred_equals.html#1e01ffba9be4ee8e8ca8df830fe3df19">00134</a>     <a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>* <a class="code" href="class_pred_equals.html#1e01ffba9be4ee8e8ca8df830fe3df19">elem</a>;
<a name="l00135"></a>00135 <span class="keyword">public</span>:
<a name="l00136"></a><a class="code" href="class_pred_equals.html#565a1945719ccd105c95d52358db2d22">00136</a>     <a class="code" href="class_pred_equals.html#565a1945719ccd105c95d52358db2d22">PredEquals</a>(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>* e) : <a class="code" href="class_pred_equals.html#1e01ffba9be4ee8e8ca8df830fe3df19">elem</a>(e) {}
<a name="l00137"></a>00137 
<a name="l00138"></a><a class="code" href="class_pred_equals.html#bec4c03cb889aaf126a6b09eba378e75">00138</a>     <span class="keywordtype">bool</span> <a class="code" href="class_pred_equals.html#bec4c03cb889aaf126a6b09eba378e75">operator() </a>(<a class="code" href="class_session_list_element.html" title="Class for tracking session status.">SessionListElement</a>* e)
<a name="l00139"></a>00139     {
<a name="l00140"></a>00140             <span class="keywordflow">return</span> e-&gt;<a class="code" href="class_session_list_element.html#6e315565e4879a59737aec788fe46fc9">get</a>() == <a class="code" href="class_pred_equals.html#1e01ffba9be4ee8e8ca8df830fe3df19">elem</a>;
<a name="l00141"></a>00141     }
<a name="l00142"></a>00142 };
<a name="l00143"></a>00143 
<a name="l00157"></a><a class="code" href="class_r_t_p_session_pool.html">00157</a> <span class="keyword">class </span>__EXPORT <a class="code" href="class_r_t_p_session_pool.html" title="This class is a base class for classes that define a group of RTP sessions that will...">RTPSessionPool</a>: <span class="keyword">public</span> <a class="code" href="class_r_t_p_session_base_handler.html">RTPSessionBaseHandler</a>
<a name="l00158"></a>00158 {
<a name="l00159"></a>00159 <span class="keyword">public</span>:
<a name="l00160"></a>00160         <a class="code" href="class_r_t_p_session_pool.html" title="This class is a base class for classes that define a group of RTP sessions that will...">RTPSessionPool</a>();
<a name="l00161"></a>00161 
<a name="l00162"></a><a class="code" href="class_r_t_p_session_pool.html#21183e45cdc63081014dd949b8d44187">00162</a>         <span class="keyword">inline</span> <span class="keyword">virtual</span> ~<a class="code" href="class_r_t_p_session_pool.html" title="This class is a base class for classes that define a group of RTP sessions that will...">RTPSessionPool</a>()
<a name="l00163"></a>00163         { }
<a name="l00164"></a>00164 
<a name="l00165"></a>00165         <span class="keywordtype">bool</span>
<a name="l00166"></a>00166         addSession(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>&amp; session);
<a name="l00167"></a>00167 
<a name="l00168"></a>00168         <span class="keywordtype">bool</span> 
<a name="l00169"></a>00169         removeSession(<a class="code" href="class_r_t_p_session_base.html" title="Generic RTP protocol stack for exchange of realtime data.">RTPSessionBase</a>&amp; session);
<a name="l00170"></a>00170 
<a name="l00171"></a>00171         <span class="keywordtype">size_t</span>
<a name="l00172"></a>00172         getPoolLength() <span class="keyword">const</span>;
<a name="l00173"></a>00173 
<a name="l00174"></a>00174         <span class="keyword">virtual</span> <span class="keywordtype">void</span> startRunning() = 0;
<a name="l00175"></a>00175 
<a name="l00176"></a><a class="code" href="class_r_t_p_session_pool.html#7819ba46f655aa793db2aa003da21df4">00176</a>         <span class="keyword">inline</span> <span class="keywordtype">bool</span> isActive()
<a name="l00177"></a>00177         { <span class="keywordflow">return</span> poolActive; }
<a name="l00178"></a>00178 
<a name="l00179"></a>00179 <span class="keyword">protected</span>:
<a name="l00180"></a><a class="code" href="class_r_t_p_session_pool.html#cb99df4c50af8713dd36087b8381cc8b">00180</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setActive()
<a name="l00181"></a>00181         { poolActive = <span class="keyword">true</span>; }
<a name="l00182"></a>00182         
<a name="l00183"></a><a class="code" href="class_r_t_p_session_pool.html#14eae74f2744ff7d88f978335d6262e8">00183</a>         <span class="keyword">inline</span> timeval getPoolTimeout()
<a name="l00184"></a>00184         { <span class="keywordflow">return</span> poolTimeout; }
<a name="l00185"></a>00185 
<a name="l00186"></a><a class="code" href="class_r_t_p_session_pool.html#8786c68862aa74f74f94130b6b0eb949">00186</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setPoolTimeout(<span class="keywordtype">int</span> sec, <span class="keywordtype">int</span> usec)
<a name="l00187"></a>00187         { poolTimeout.tv_sec = sec; poolTimeout.tv_usec = usec; }
<a name="l00188"></a>00188 
<a name="l00189"></a><a class="code" href="class_r_t_p_session_pool.html#e0a03e7d2897eba1c40efd91efaa28d5">00189</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setPoolTimeout(<span class="keyword">struct</span> timeval to)
<a name="l00190"></a>00190         { poolTimeout = to; }
<a name="l00191"></a>00191 
<a name="l00192"></a><a class="code" href="class_r_t_p_session_pool.html#c5f2382721c2dc7253b355ba4f12e3d8">00192</a>         std::list&lt;SessionListElement*&gt; sessionList;
<a name="l00193"></a><a class="code" href="class_r_t_p_session_pool.html#1430560da7877fabc2de9bea53054438">00193</a>         <span class="keyword">typedef</span> std::list&lt;SessionListElement*&gt;::iterator PoolIterator;
<a name="l00194"></a>00194 
<a name="l00195"></a><a class="code" href="class_r_t_p_session_pool.html#d90e7ca14b02de5be3eacf7d27946d79">00195</a>         <span class="keyword">mutable</span> ThreadLock poolLock;
<a name="l00196"></a>00196 
<a name="l00197"></a>00197 <span class="preprocessor">#ifndef WIN32</span>
<a name="l00198"></a><a class="code" href="class_r_t_p_session_pool.html#fbc0205f973575c59eb89c7f11cd9cac">00198</a> <span class="preprocessor"></span>        fd_set recvSocketSet;
<a name="l00199"></a><a class="code" href="class_r_t_p_session_pool.html#4318d42eed619e6f9f75ddc4e9d7383e">00199</a>         SOCKET highestSocket;  <span class="comment">// highest socket number + 1</span>
<a name="l00200"></a>00200 <span class="preprocessor">#endif</span>
<a name="l00201"></a>00201 <span class="preprocessor"></span>
<a name="l00202"></a>00202 <span class="keyword">private</span>:
<a name="l00203"></a>00203         timeval poolTimeout;
<a name="l00204"></a>00204         <span class="keyword">mutable</span> <span class="keywordtype">bool</span> poolActive;
<a name="l00205"></a>00205 };
<a name="l00206"></a>00206 
<a name="l00207"></a>00207 
<a name="l00208"></a><a class="code" href="class_single_r_t_p_session_pool.html">00208</a> <span class="keyword">class </span>__EXPORT <a class="code" href="class_single_r_t_p_session_pool.html">SingleRTPSessionPool</a> : 
<a name="l00209"></a>00209                 <span class="keyword">public</span> <a class="code" href="class_r_t_p_session_pool.html" title="This class is a base class for classes that define a group of RTP sessions that will...">RTPSessionPool</a>,
<a name="l00210"></a>00210                 <span class="keyword">public</span> Thread
<a name="l00211"></a>00211 {
<a name="l00212"></a>00212 <span class="keyword">public</span>:
<a name="l00216"></a><a class="code" href="class_single_r_t_p_session_pool.html#283f67599eaa1b454965151cc4a4a46c">00216</a>         <a class="code" href="class_single_r_t_p_session_pool.html">SingleRTPSessionPool</a>(<span class="keywordtype">int</span> pri = 0) : 
<a name="l00217"></a>00217                 <a class="code" href="class_r_t_p_session_pool.html" title="This class is a base class for classes that define a group of RTP sessions that will...">RTPSessionPool</a>(),
<a name="l00218"></a>00218                 Thread(pri)
<a name="l00219"></a>00219         { }
<a name="l00220"></a>00220         
<a name="l00221"></a><a class="code" href="class_single_r_t_p_session_pool.html#1d4b2b6c648567df07cc7d2796ad8f85">00221</a>         ~<a class="code" href="class_single_r_t_p_session_pool.html">SingleRTPSessionPool</a>()
<a name="l00222"></a>00222         { }
<a name="l00223"></a>00223 
<a name="l00224"></a><a class="code" href="class_single_r_t_p_session_pool.html#65445dc5b64a42f4cda434a00743b0b8">00224</a>         <span class="keywordtype">void</span> <a class="code" href="class_r_t_p_session_pool.html#0bac7dd70b374f5133852d6d7ba7cdf5">startRunning</a>()
<a name="l00225"></a>00225         { <a class="code" href="class_r_t_p_session_pool.html#cb99df4c50af8713dd36087b8381cc8b">setActive</a>(); Thread::start(); }
<a name="l00226"></a>00226 
<a name="l00227"></a>00227 <span class="keyword">protected</span>:
<a name="l00232"></a>00232         <span class="keywordtype">void</span> run();
<a name="l00233"></a>00233 };
<a name="l00234"></a>00234 
<a name="l00235"></a>00235 <span class="preprocessor">#ifdef  CCXX_NAMESPACES</span>
<a name="l00236"></a>00236 <span class="preprocessor"></span>}
<a name="l00237"></a>00237 <span class="preprocessor">#endif</span>
<a name="l00238"></a>00238 <span class="preprocessor"></span>
<a name="l00239"></a>00239 <span class="preprocessor">#endif //CCXX_RTP_POOL_H</span>
<a name="l00240"></a>00240 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jul 24 21:42:25 2009 for ccRTP by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>