[asterisk-scf-commits] asterisk-scf/integration/bridging.git branch "retry_deux" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Apr 11 12:59:11 CDT 2012


branch "retry_deux" has been updated
       via  151285f4a6d29b8796b639978a97a4890266f723 (commit)
      from  6f81de838f89479afdf7883efd7f27c3e0df3a36 (commit)

Summary of changes:
 src/BridgeImpl.cpp |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)


- Log -----------------------------------------------------------------
commit 151285f4a6d29b8796b639978a97a4890266f723
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Wed Apr 11 12:58:51 2012 -0500

    Using alternate getContext function.

diff --git a/src/BridgeImpl.cpp b/src/BridgeImpl.cpp
index 59048ee..895a2bb 100755
--- a/src/BridgeImpl.cpp
+++ b/src/BridgeImpl.cpp
@@ -960,8 +960,7 @@ public:
         try
         {
             AddStreamsContextDataPtr data(
-                getContext<AddStreamsContextDataPtr,
-                AsteriskSCF::SessionCommunications::V1::AMD_SessionController_addStreamsPtr>(mOperationCache,
+                getContext<AddStreamsContextData>(mOperationCache,
                     context, cb));
             if (data)
             {
@@ -1001,9 +1000,7 @@ public:
         try
         {
             RemoveStreamsContextDataPtr data(
-                getContext<RemoveStreamsContextDataPtr,
-                AsteriskSCF::SessionCommunications::V1::AMD_SessionController_removeStreamsPtr>(
-                    mOperationCache, context, cb));
+                getContext<RemoveStreamsContextData>(mOperationCache, context, cb));
 
             if (data)
             {
@@ -1711,7 +1708,7 @@ void BridgeImpl::addSessions_async(const AMD_Bridge_addSessionsPtr& callback,
     const Ice::Current&)
 {
     AddSessionsContextDataPtr data(
-        getContext<AddSessionsContextDataPtr, AMD_Bridge_addSessionsPtr>(
+        getContext<AddSessionsContextData>(
             mOperationContextCache, operationContext, callback));
 
     if (data)
@@ -1801,7 +1798,7 @@ void BridgeImpl::removeSessions_async(const AMD_Bridge_removeSessionsPtr& callba
     const Ice::Current&)
 {
     RemoveSessionsContextDataPtr data(
-        getContext<RemoveSessionsContextDataPtr, AMD_Bridge_removeSessionsPtr>(
+        getContext<RemoveSessionsContextData>(
             mOperationContextCache, operationContext, callback));
     if (data)
     {
@@ -2142,8 +2139,7 @@ void BridgeImpl::replaceSession_async(const AMD_Bridge_replaceSessionPtr& callba
     const SessionWithSessionInfoSeq& newSessionInfos,
     const Ice::Current& current)
 {
-    ReplaceSessionContextDataPtr data(getContext<ReplaceSessionContextDataPtr,
-        AMD_Bridge_replaceSessionPtr>(
+    ReplaceSessionContextDataPtr data(getContext<ReplaceSessionContextData>(
             mOperationContextCache, context,
             callback));
     if (data)

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


-- 
asterisk-scf/integration/bridging.git



More information about the asterisk-scf-commits mailing list