From dc3e77c4284b84b71ddabf1a813b18224b775217 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 17 Mar 2008 18:48:16 +0000 Subject: finally added callIdQueue (sorry) threads get started @ sync now TODO: cleanup threads and session on daed --- rtpSession.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'rtpSession.h') diff --git a/rtpSession.h b/rtpSession.h index 9059c2c..c6c6542 100644 --- a/rtpSession.h +++ b/rtpSession.h @@ -39,11 +39,14 @@ class RtpSession { public: - RtpSession(); + RtpSession(const std::string& call_id); bool isDead(); bool isDead(bool d); + bool isComplete(); + bool isComplete(bool c); + std::string getLocalAddr(); RtpSession& setLocalAddr(std::string a); u_int16_t getLocalPort1(); @@ -79,6 +82,7 @@ private: u_int16_t old_local_port2 = local_port2_; ar & dead_; + ar & complete_; ar & local_addr_; ar & local_port1_; ar & local_port2_; @@ -96,7 +100,9 @@ private: bool in_sync_; ::Mutex mutex_; + const std::string& call_id_; bool dead_; + bool complete_; std::string local_addr_; u_int16_t local_port1_, local_port2_; std::string remote_addr1_, remote_addr2_; -- cgit v1.2.3