summaryrefslogtreecommitdiff
path: root/rtpSession.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-03-17 18:48:16 +0000
committerChristian Pointner <equinox@anytun.org>2008-03-17 18:48:16 +0000
commitdc3e77c4284b84b71ddabf1a813b18224b775217 (patch)
tree18703ca611ac1ba8719219d11fae5e6c434c23f7 /rtpSession.h
parentfirst working version (diff)
finally added callIdQueue (sorry)
threads get started @ sync now TODO: cleanup threads and session on daed
Diffstat (limited to 'rtpSession.h')
-rw-r--r--rtpSession.h8
1 files changed, 7 insertions, 1 deletions
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_;