summaryrefslogtreecommitdiff
path: root/rtpSessionTable.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-03-14 19:33:40 +0000
committerChristian Pointner <equinox@anytun.org>2008-03-14 19:33:40 +0000
commit8efe1bd45ddab5e60c756c9c11506dfe469e8563 (patch)
treecfb528473cecfda49edadcead130eae46cfce930 /rtpSessionTable.cpp
parentdirty rtp port hack (diff)
first working version
Diffstat (limited to 'rtpSessionTable.cpp')
-rw-r--r--rtpSessionTable.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/rtpSessionTable.cpp b/rtpSessionTable.cpp
index 1556752..8b361a4 100644
--- a/rtpSessionTable.cpp
+++ b/rtpSessionTable.cpp
@@ -107,6 +107,16 @@ RtpSession& RtpSessionTable::getSession(const std::string & call_id)
throw std::runtime_error("session not found");
}
+RtpSessionMap::iterator RtpSessionTable::getBeginUnlocked()
+{
+ return map_.begin();
+}
+
+RtpSessionMap::iterator RtpSessionTable::getEndUnlocked()
+{
+ return map_.end();
+}
+
void RtpSessionTable::clear()
{
Lock lock(mutex_);