[asterisk-scf-commits] asterisk-scf/integration/bridging.git branch "session_cookies" created.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Mar 21 14:54:31 CDT 2011


branch "session_cookies" has been created
        at  6755289ef4b962bee87ddbf0e156857d4b87bb64 (commit)

- Log -----------------------------------------------------------------
commit 6755289ef4b962bee87ddbf0e156857d4b87bb64
Author: Joshua Colp <jcolp at digium.com>
Date:   Mon Mar 21 11:50:50 2011 -0300

    Add bits for session cookies.

diff --git a/src/BridgeImpl.cpp b/src/BridgeImpl.cpp
index a637e5d..5f3e61c 100755
--- a/src/BridgeImpl.cpp
+++ b/src/BridgeImpl.cpp
@@ -369,7 +369,8 @@ public:
     {
     }
 
-    void connected(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const Ice::Current&)
+    void connected(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const AsteriskSCF::SessionCommunications::V1::SessionCookies&,
+	const Ice::Current&)
     {
         try
         {
@@ -384,20 +385,24 @@ public:
         std::for_each(sessions.begin(), sessions.end(), ConnectImpl(source));
     }
 
-    void flashed(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const Ice::Current&)
+    void flashed(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const AsteriskSCF::SessionCommunications::V1::SessionCookies&,
+	const Ice::Current&)
     {
     }
 
-    void held(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const Ice::Current&)
+    void held(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const AsteriskSCF::SessionCommunications::V1::SessionCookies&,
+	const Ice::Current&)
     {
     }
 
-    void progressing(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, 
-      const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response, const Ice::Current&)
+    void progressing(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source,
+	const AsteriskSCF::SessionCommunications::V1::SessionCookies&, 
+	const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response, const Ice::Current&)
     {
     }
 
-    void ringing(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const Ice::Current&)
+    void ringing(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const AsteriskSCF::SessionCommunications::V1::SessionCookies&,
+	const Ice::Current&)
     {
         std::vector<BridgeImpl::BridgeSessionPtr> sessions(mBridge->currentSessions());
         if(sessions.size() > 0)
@@ -406,8 +411,9 @@ public:
         }
     }
 
-    void stopped(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, 
-      const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response, const Ice::Current& current)
+    void stopped(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source,
+	const AsteriskSCF::SessionCommunications::V1::SessionCookies&, 
+	const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response, const Ice::Current& current)
     {
         size_t endpointCount = mBridge->sessionStopped(source, response);
         if(endpointCount < 2)
@@ -416,7 +422,8 @@ public:
         }
     }
 
-    void unheld(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const Ice::Current&)
+    void unheld(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const AsteriskSCF::SessionCommunications::V1::SessionCookies&,
+	const Ice::Current&)
     {
     }
 

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


-- 
asterisk-scf/integration/bridging.git



More information about the asterisk-scf-commits mailing list