[asterisk-scf-commits] asterisk-scf/integration/test_channel.git branch "sessioncontroller" created.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Jun 28 18:43:33 CDT 2011


branch "sessioncontroller" has been created
        at  1667b098719a006c51037161627fda6605a5ff0d (commit)

- Log -----------------------------------------------------------------
commit 1667b098719a006c51037161627fda6605a5ff0d
Author: Joshua Colp <jcolp at digium.com>
Date:   Tue Jun 28 19:11:23 2011 -0300

    Update since things are now using AMD.

diff --git a/src/TestEndpoint.cpp b/src/TestEndpoint.cpp
index 02c03f6..ab8d4e6 100644
--- a/src/TestEndpoint.cpp
+++ b/src/TestEndpoint.cpp
@@ -303,14 +303,16 @@ public:
         cb->ice_response(AsteriskSCF::Media::V1::StreamInformationDict());
     }
 
-    AsteriskSCF::SessionCommunications::V1::SessionControllerPrx setAndGetSessionController(
+    void setAndGetSessionController_async(const AsteriskSCF::SessionCommunications::V1::AMD_Session_setAndGetSessionControllerPtr& cb,
         const AsteriskSCF::SessionCommunications::V1::SessionControllerPrx&, const Ice::Current&)
     {
-        return 0;
+        cb->ice_response(0);
     }
 
-    void removeSessionController(const AsteriskSCF::SessionCommunications::V1::SessionControllerPrx&, const Ice::Current&)
+    void removeSessionController_async(const AsteriskSCF::SessionCommunications::V1::AMD_Session_removeSessionControllerPtr& cb,
+                                       const AsteriskSCF::SessionCommunications::V1::SessionControllerPrx&, const Ice::Current&)
     {
+        cb->ice_response();
     }
 
     void echo()

commit 0ed7d3b706b5bc2913a696dd4a37a309fa5200ab
Author: Joshua Colp <jcolp at digium.com>
Date:   Tue Jun 28 15:52:11 2011 -0300

    Update to support SessionController and stream changes.

diff --git a/src/TestEndpoint.cpp b/src/TestEndpoint.cpp
index cf07e45..02c03f6 100644
--- a/src/TestEndpoint.cpp
+++ b/src/TestEndpoint.cpp
@@ -297,6 +297,22 @@ public:
         cb->ice_response();
     }
 
+    void getStreams_async(const AsteriskSCF::SessionCommunications::V1::AMD_Session_getStreamsPtr& cb,
+                          const Ice::Current&)
+    {
+        cb->ice_response(AsteriskSCF::Media::V1::StreamInformationDict());
+    }
+
+    AsteriskSCF::SessionCommunications::V1::SessionControllerPrx setAndGetSessionController(
+        const AsteriskSCF::SessionCommunications::V1::SessionControllerPrx&, const Ice::Current&)
+    {
+        return 0;
+    }
+
+    void removeSessionController(const AsteriskSCF::SessionCommunications::V1::SessionControllerPrx&, const Ice::Current&)
+    {
+    }
+
     void echo()
     {
         mMediaServant->echo();

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


-- 
asterisk-scf/integration/test_channel.git



More information about the asterisk-scf-commits mailing list