[asterisk-scf-commits] asterisk-scf/release/routing.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Sun Sep 11 22:51:29 CDT 2011


branch "master" has been updated
       via  93333b0292c2b4ebab094121c2a4ced16026ad63 (commit)
      from  1072e384835ab7fb56ad5b7af6603e11875e47ee (commit)

Summary of changes:
 test/MockSession.h |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 93333b0292c2b4ebab094121c2a4ced16026ad63
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Sun Sep 11 22:50:48 2011 -0500

    Support changes made to API for Media Session cookie support.

diff --git a/test/MockSession.h b/test/MockSession.h
index 990e653..f60ae98 100644
--- a/test/MockSession.h
+++ b/test/MockSession.h
@@ -56,10 +56,13 @@ public:
     void setCookies(const AsteriskSCF::SessionCommunications::V1::SessionCookies&, const Ice::Current&) { };
     void removeCookies(const AsteriskSCF::SessionCommunications::V1::SessionCookies&, const Ice::Current&) { };
 
-    AsteriskSCF::SessionCommunications::V1::SessionCookies getCookies(const AsteriskSCF::SessionCommunications::V1::SessionCookies&, const Ice::Current&)
+    void getCookies_async(
+        const AsteriskSCF::SessionCommunications::V1::AMD_Session_getCookiesPtr& cb,
+        const AsteriskSCF::SessionCommunications::V1::SessionCookies&, 
+        const Ice::Current&)
     {
 	AsteriskSCF::SessionCommunications::V1::SessionCookies cookies;
-	return cookies;
+	cb->ice_response(cookies);
     };
 
     void getBridge_async(

-----------------------------------------------------------------------


-- 
asterisk-scf/release/routing.git



More information about the asterisk-scf-commits mailing list