[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "sessioncontroller" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Jun 23 12:58:55 CDT 2011


branch "sessioncontroller" has been updated
       via  e5cd7118d887096e0fbaef25d433a5be7a8e2341 (commit)
      from  01f50ffc657af8c961be5461b02663d9473c7e66 (commit)

Summary of changes:
 .../SessionCommunicationsIf.ice                    |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit e5cd7118d887096e0fbaef25d433a5be7a8e2341
Author: Joshua Colp <jcolp at digium.com>
Date:   Thu Jun 23 14:58:37 2011 -0300

    I have finally decided how I want to do this... in order to get a proxy to the SessionController for a session you yourself have to provide a SessionController interface.

diff --git a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
index a167354..8e1dbc4 100644
--- a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
+++ b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
@@ -504,6 +504,23 @@ module V1
          * @throws NotBridged if the session is not currently in a bridge.
          */
         ["amd"] void removeBridge(SessionListener* listener) throws NotBridged;
+
+        /**
+         * Method which sets the session controller on a session and returns a proxy
+         * to the session controller for the session.
+         *
+         * @param controller A proxy to the SessionController object.
+         *
+         * @return SessionController* A proxy to the session controller for the session.
+         */
+        SessionController *setAndGetSessionController(SessionController* controller);
+
+        /**
+         * Method which removes a session controller from a session.
+         *
+         * @param controller A proxy to the session controller to remove.
+         */
+        void removeSessionController(SessionController* controller);
     };
 
     /**

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list