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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jul 20 11:57:01 CDT 2011


branch "basecomponent" has been updated
       via  4dfc5cba19fa59222e9ba618e4f455e4baa05ee3 (commit)
      from  bdd9fcecea3f74f32c58455d588f43bdfb6fc5ac (commit)

Summary of changes:
 src/Component.cpp |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 4dfc5cba19fa59222e9ba618e4f455e4baa05ee3
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Wed Jul 20 11:56:37 2011 -0500

    Some comments and minor cleanup.

diff --git a/src/Component.cpp b/src/Component.cpp
index a3bbd51..98ec691 100644
--- a/src/Component.cpp
+++ b/src/Component.cpp
@@ -70,7 +70,6 @@ private:
     virtual void createReplicationStateListeners();
     virtual void stopListeningToStateReplicators();
     virtual void listenToStateReplicators();
-    virtual void findRemoteServices() {}
 
     // Other base Component overrides
     virtual ReplicationContextPtr createReplicationContext(ReplicationStateType state);
@@ -85,6 +84,10 @@ private:
     boost::shared_mutex mReplicatorLock;
 };
 
+/**
+ * Override of factory method of the base Component class. Out custom 
+ * version allows us to attach our replicator proxy to the context.
+ */
 ReplicationContextPtr Component::createReplicationContext(ReplicationStateType state)
 {
     // Find our state replicator. 
@@ -126,6 +129,9 @@ void Component::onPreInitialize()
     lg(Debug) << "Launching AsteriskSCF Session-Oriented Bridging Service " << getName();
 }
 
+/** 
+ * Create our servant implementations.
+ */
 void Component::createPrimaryServices()
 {
      std::string managerName = 
@@ -146,6 +152,9 @@ void Component::createPrimaryServices()
     }
 }
 
+/**
+ * Wrap our servants for the locator service.
+ */
 void Component::preparePrimaryServicesForDiscovery()
 {
     try

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


-- 
asterisk-scf/integration/bridging.git



More information about the asterisk-scf-commits mailing list