[asterisk-scf-commits] asterisk-scf/integration/ice-util-cpp.git branch "jira-astscf-397-sipuseragent" created.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jan 18 14:17:38 CST 2012


branch "jira-astscf-397-sipuseragent" has been created
        at  5d86b9e64d17d6925beb4ce969050fba38785478 (commit)

- Log -----------------------------------------------------------------
commit 5d86b9e64d17d6925beb4ce969050fba38785478
Author: Brent Eagles <beagles at digium.com>
Date:   Wed Jan 18 16:46:41 2012 -0330

    Adding some accessors to the smart proxy members, mostly that a new one
    might be created with only slightly modified values.

diff --git a/include/AsteriskSCF/Discovery/SmartProxy.h b/include/AsteriskSCF/Discovery/SmartProxy.h
index 6ab22a7..c332988 100644
--- a/include/AsteriskSCF/Discovery/SmartProxy.h
+++ b/include/AsteriskSCF/Discovery/SmartProxy.h
@@ -202,6 +202,16 @@ public:
         return mProxy;
     }
 
+    AsteriskSCF::Core::Discovery::V1::ServiceLocatorPrx getLocator() const
+    {
+        return mServiceLocator;
+    }
+
+    AsteriskSCF::Core::Discovery::V1::ServiceLocatorParamsPtr getLocationParameters() const
+    {
+        return AsteriskSCF::Core::Discovery::V1::ServiceLocatorParamsPtr::dynamicCast(mLocatorParams->ice_clone());
+    }
+
 private:
 
     /**

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


-- 
asterisk-scf/integration/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list