43 #ifndef CCXX_RTP_POOL_H
44 #define CCXX_RTP_POOL_H
49 #ifdef CCXX_NAMESPACES
60 {
return s.getSchedulingTimeout(); }
63 {
return s.getRTCPCheckInterval(); }
67 {
return s.takeInDataPacket(); }
71 {
return s.dispatchDataPacket(); }
75 { s.controlReceptionService(); }
79 { s.controlTransmissionService(); }
82 {
return s.getDataRecvSocket(); }
85 {
return s.getControlRecvSocket(); }
109 : elem(e), cleared(false) {
172 getPoolLength()
const;
174 virtual void startRunning() = 0;
176 inline bool isActive()
177 {
return poolActive; }
180 inline void setActive()
181 { poolActive =
true; }
183 inline timeval getPoolTimeout()
184 {
return poolTimeout; }
186 inline void setPoolTimeout(
int sec,
int usec)
187 { poolTimeout.tv_sec = sec; poolTimeout.tv_usec = usec; }
189 inline void setPoolTimeout(
struct timeval to)
190 { poolTimeout = to; }
204 mutable bool poolActive;
235 #ifdef CCXX_NAMESPACES
239 #endif //CCXX_RTP_POOL_H