From 8efe1bd45ddab5e60c756c9c11506dfe469e8563 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 14 Mar 2008 19:33:40 +0000 Subject: first working version --- rtpSessionTable.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'rtpSessionTable.cpp') 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_); -- cgit v1.2.3