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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Jun 21 15:02:29 CDT 2011


branch "master" has been updated
       via  7d62474a9d3bf9f8547b219c56249dfb8e6f0bd5 (commit)
      from  6c4ce6797956dc20b7ff3b05cfdaf21785c784c3 (commit)

Summary of changes:
 src/TestEndpoint.cpp |   37 ++++++++++++++++++++++++++++---------
 1 files changed, 28 insertions(+), 9 deletions(-)


- Log -----------------------------------------------------------------
commit 7d62474a9d3bf9f8547b219c56249dfb8e6f0bd5
Author: Joshua Colp <jcolp at digium.com>
Date:   Tue Jun 21 17:01:29 2011 -0300

    Merge session cookies support.

diff --git a/src/TestEndpoint.cpp b/src/TestEndpoint.cpp
index 94c3cab..cf07e45 100644
--- a/src/TestEndpoint.cpp
+++ b/src/TestEndpoint.cpp
@@ -73,41 +73,46 @@ public:
     //
     void connected()
     {
-        mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::ConnectedIndication());
+	mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::ConnectedIndication(),
+                              AsteriskSCF::SessionCommunications::V1::SessionCookies());
     }
 
     void flashed()
     {
-        mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::FlashedIndication());
+	mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::FlashedIndication(),
+                              AsteriskSCF::SessionCommunications::V1::SessionCookies());
     }
 
     void held()
     {
-        mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::HeldIndication());
+	mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::HeldIndication(),
+                              AsteriskSCF::SessionCommunications::V1::SessionCookies());
     }
 
     void progressing(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response)
     {
         AsteriskSCF::SessionCommunications::V1::ProgressingIndicationPtr indication(new AsteriskSCF::SessionCommunications::V1::ProgressingIndication());
         indication->response = response;
-        mPublisher->indicated(mSession, indication);
+        mPublisher->indicated(mSession, indication, AsteriskSCF::SessionCommunications::V1::SessionCookies());
     }
 
     void ringing()
     {
-        mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::RingingIndication());
+	mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::RingingIndication(),
+                              AsteriskSCF::SessionCommunications::V1::SessionCookies());
     }
 
     void stopped(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response)
     {
-        AsteriskSCF::SessionCommunications::V1::StoppedIndicationPtr indication(new AsteriskSCF::SessionCommunications::V1::StoppedIndication());
-        indication->response = response;
-        mPublisher->indicated(mSession, indication);
+	AsteriskSCF::SessionCommunications::V1::StoppedIndicationPtr indication(new AsteriskSCF::SessionCommunications::V1::StoppedIndication());
+	indication->response = response;
+	mPublisher->indicated(mSession, indication, AsteriskSCF::SessionCommunications::V1::SessionCookies());
     }
 
     void unheld()
     {
-        mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::UnheldIndication());
+	mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::UnheldIndication(),
+                              AsteriskSCF::SessionCommunications::V1::SessionCookies());
     }
 
     void setProxy(const AsteriskSCF::SessionCommunications::V1::SessionPrx& prx)
@@ -317,6 +322,20 @@ public:
         mListeners->stopped(new AsteriskSCF::SessionCommunications::V1::ResponseCode);
     }
 
+    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&)
+    {
+	AsteriskSCF::SessionCommunications::V1::SessionCookies cookies;
+	return cookies;
+    }
+
     void die()
     {
     }

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


-- 
asterisk-scf/release/test_channel.git



More information about the asterisk-scf-commits mailing list