[hydra-commits] hydra/slice.git branch "master" updated.

Commits to the Hydra project code repositories hydra-commits at lists.digium.com
Thu Aug 5 15:21:57 CDT 2010


branch "master" has been updated
       via  8e63ad48c2132938829d89a23b61a57b81f4a8aa (commit)
       via  3826401e246de2556b1e2999ca84bade4e8040c0 (commit)
      from  838d58f5fc9a967e6695b4f67b71097adadbd82c (commit)

Summary of changes:
 CMakeLists.txt                  |    2 +
 core/CMakeLists.txt             |    5 +++
 core/service_locator_events.ice |   67 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+), 0 deletions(-)
 create mode 100644 CMakeLists.txt
 create mode 100644 core/CMakeLists.txt
 create mode 100644 core/service_locator_events.ice


- Log -----------------------------------------------------------------
commit 8e63ad48c2132938829d89a23b61a57b81f4a8aa
Author: Joshua Colp <jcolp at digium.com>
Date:   Thu Aug 5 17:36:33 2010 -0300

    Add build files. This is expected to be submoduled in from components that already have a complete copy of our cmake stuff so don't even think about putting it in here. NO! JUST DON'T!

diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..bf532c1
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,2 @@
+# Slice definitions for core functionality
+add_subdirectory(core)
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
new file mode 100644
index 0000000..c0ecd31
--- /dev/null
+++ b/core/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Compile our service locator slice definition so we can then use it
+hydra_compile_slice(service_locator.ice lib "Slice Defined API" Core)
+
+# Can't forget about events
+hydra_compile_slice(service_locator_events.ice lib "Slice Defined API" Core)

commit 3826401e246de2556b1e2999ca84bade4e8040c0
Author: Joshua Colp <jcolp at digium.com>
Date:   Thu Aug 5 17:36:01 2010 -0300

    Add slice definition for service locator events, may get moved.

diff --git a/core/service_locator_events.ice b/core/service_locator_events.ice
new file mode 100644
index 0000000..9657779
--- /dev/null
+++ b/core/service_locator_events.ice
@@ -0,0 +1,67 @@
+module Hydra
+{
+
+module System
+{
+
+module Discovery
+{
+
+	/**
+	 * Default topic used for service locator events.
+	 */
+	const string TOPIC="::hydra::service::locator";
+
+	/**
+	 * Interface used to publish service locator related events.
+	 */
+	interface Events
+	{
+		/**
+		 * Method which is called when a comparator is registered.
+		 *
+		 * @param guid The unique identifier of the comparator.
+		 */
+		void comparisonRegistered(string guid);
+
+		/**
+		 * Method which is called when a comparator is unregistered.
+		 *
+		 * @param guid The unique identifier of the comparator.
+		 */
+		void comparisonUnregistered(string guid);
+
+		/**
+		 * Method which is called when a service is registered.
+		 *
+		 * @param guid The unique identifier of the service.
+		 */
+		void serviceRegistered(string guid);
+
+		/**
+		 * Method which is called when a service is unregistered.
+		 *
+		 * @param guid The unique identifier of the service.
+		 */
+		void serviceUnregistered(string guid);
+
+		/**
+		 * Method which is called when a service is suspended.
+		 *
+		 * @param guid The unique identifier of the service.
+		 */
+		void serviceSuspended(string guid);
+
+		/**
+		 * Method which is called when a service is unsuspended.
+		 *
+		 * @param guid The unique identifier of the service.
+		 */
+		void serviceUnsuspended(string guid);
+	};
+
+}; // end module Discovery
+
+}; // end module System
+
+}; // end module Hydra

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


-- 
hydra/slice.git




More information about the asterisk-scf-commits mailing list