42 #ifndef CCXX_RTP_POOL_H
43 #define CCXX_RTP_POOL_H
57 {
return s.getSchedulingTimeout(); }
60 {
return s.getRTCPCheckInterval(); }
64 {
return s.takeInDataPacket(); }
68 {
return s.dispatchDataPacket(); }
72 { s.controlReceptionService(); }
76 { s.controlTransmissionService(); }
79 {
return s.getDataRecvSocket(); }
82 {
return s.getControlRecvSocket(); }
106 : elem(e), cleared(false) {
169 getPoolLength()
const;
171 virtual void startRunning() = 0;
173 inline bool isActive()
174 {
return poolActive; }
177 inline void setActive()
178 { poolActive =
true; }
180 inline timeval getPoolTimeout()
181 {
return poolTimeout; }
183 inline void setPoolTimeout(
int sec,
int usec)
184 { poolTimeout.tv_sec = sec; poolTimeout.tv_usec = usec; }
186 inline void setPoolTimeout(
struct timeval to)
187 { poolTimeout = to; }
201 mutable bool poolActive;
234 #endif //CCXX_RTP_POOL_H